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

Migrate gadgets from zkevm-circuits mod to it'w own crate #457

Merged
merged 3 commits into from
Apr 13, 2022

Conversation

CPerezz
Copy link
Member

@CPerezz CPerezz commented Apr 13, 2022

Resolves: #444

@CPerezz CPerezz requested review from miha-stopar and a team as code owners April 13, 2022 10:26
@github-actions github-actions bot added CI Issues related to the Continuous Integration mechanisms of the repository. crate-zkevm-circuits Issues related to the zkevm-circuits workspace member labels Apr 13, 2022
@github-actions github-actions bot requested a review from lispc April 13, 2022 10:26
Copy link
Collaborator

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link
Collaborator

@miha-stopar miha-stopar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a good idea to me! It seems all ok to me!

@CPerezz CPerezz merged commit f96b07d into main Apr 13, 2022
@CPerezz CPerezz deleted the gadgets_member branch April 13, 2022 14:30
Comment on lines +51 to +63
/// +----+-------+-----------+-----------------------+---------------------------------+-------------------------------------+
/// | ok | value | value_inv | 1 - value ⋅ value_inv | value ⋅ (1 - value ⋅
/// value_inv) | value_inv ⋅ (1 - value ⋅ value_inv) |
/// +----+-------+-----------+-----------------------+---------------------------------+-------------------------------------+
/// | V | 0 | 0 | 1 | 0
/// | 0 | | | 0 | x | 1
/// | 0 | x |
/// | | x | 0 | 1 | x
/// | 0 | | V | x | 1/x | 0
/// | 0 | 0 |
/// | | x | y | 1 - xy | x(1 - xy)
/// | y(1 - xy) |
/// +----+-------+-----------+-----------------------+---------------------------------+-------------------------------------+
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CPerezz the formatting seems broken here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohhh damn!!!
Let me make a quick fix PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Issues related to the Continuous Integration mechanisms of the repository. crate-zkevm-circuits Issues related to the zkevm-circuits workspace member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a crate for commonly used gadgets
4 participants