This repository was archived by the owner on Jul 5, 2024. It is now read-only.
Refactor: evm-circuit util/chips to "gadgets" crate#611
Merged
roynalnaruto merged 7 commits intoJul 12, 2022
Conversation
Collaborator
Author
Collaborator
|
i have another idea: reimport (pub use ...) gadgets::util::Expr as crate::util::Expr. So we don't have to modify lots of files, so the change will be much less, and some pending PR will be easier to merge conflicts. what do you think? @roynalnaruto |
b5e1526 to
f8dbcf5
Compare
Collaborator
Author
|
@lispc great idea, yes it will make the changes minimal. I've made that change. |
han0110
approved these changes
Jul 12, 2022
lispc
approved these changes
Jul 12, 2022
ed255
reviewed
Jul 12, 2022
ed255
approved these changes
Jul 12, 2022
Contributor
ed255
left a comment
There was a problem hiding this comment.
LGTM! Thanks for working on this refactor :)
lightsing
referenced
this pull request
in scroll-tech/zkevm-circuits
Jul 25, 2022
* refactor Expr trait into gadgets, add LessThan to gadgets * chore: refactor binary number mod and helper mods to gadgets crate * chore: document the gadgets crate, minor changes as per review * tests: Lt chip tests under gadgets crate Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
jonathanpwang
pushed a commit
to axiom-crypto/zkevm-circuits
that referenced
this pull request
Aug 1, 2023
* capacity checking works well * lint * fix state wit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #463
utilmodule (Exprtrait and implementations for common types) togadgetsmember cratezkevm-circuitsmember crate wherever appropriateLessThanChipto thegadgetsmember crate, to be used in Copy Circuit #584binary_numbermodule fromzkevm_circuits::state_circuittogadgetscrateand,sum,or,notand so on togadgetscrate