Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compute): Overhaul all calls to underlying tandem to support con… #30

Merged
merged 6 commits into from
Oct 11, 2024

Conversation

10d9e
Copy link
Collaborator

@10d9e 10d9e commented Oct 10, 2024

…tributor inputs only

@10d9e 10d9e requested a review from NMCarv October 10, 2024 22:50
@10d9e 10d9e self-assigned this Oct 10, 2024
@10d9e 10d9e added this to the Compute SDK beta milestone Oct 10, 2024
10d9e added 5 commits October 10, 2024 20:00
…Uint

This commit refactors the code in the `compute` module to implement the `Display` trait for the `GarbledInt` and `GarbledUint` types. The `Display` trait allows these types to be formatted as strings, making it easier to print their values.

The `Display` implementation converts the bits of the `GarbledInt` and `GarbledUint` into their corresponding signed and unsigned integer values, respectively. It supports different bit sizes, including 8, 16, 32, 64, and 128.

This change improves the usability of the `GarbledInt` and `GarbledUint` types by providing a convenient way to display their values.

Ref: #29
…tBuilder

This commit refactors the code by moving the circuits to a separate module and introducing a new struct called CircuitBuilder. This change improves code organization and makes it easier to work with circuits.

refactor(compute): Implement Display trait for GarbledInt and GarbledUint

This commit adds the implementation of the Display trait for the GarbledInt and GarbledUint types. This allows these types to be formatted and displayed in a more readable way.

feat(compute): Add garble_lang crate for serialization support

This commit introduces the garble_lang crate, which provides serialization support for the code. This allows the code to easily serialize and deserialize data, improving interoperability with other systems.

feat(compute): Overhaul all calls to underlying tandem to support contributor inputs only

This commit overhauls all the calls to the underlying tandem library to support contributor inputs only. This change ensures that only authorized contributors can provide inputs to the system, improving security and data integrity.

Merge pull request #29 from Gateway-DAO/feat/comparison

This commit merges the pull request #29 from the Gateway-DAO repository. The pull request introduces a new feature related to comparison operations.
@10d9e 10d9e merged commit 10832d6 into main Oct 11, 2024
4 checks passed
@10d9e 10d9e deleted the 10d9e/feat/refactor-circuit-input-mappings branch October 11, 2024 03:38
@10d9e 10d9e linked an issue Oct 11, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-input refactor
2 participants