-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix bytecode hashing for Type2 SMT #782
Conversation
No objection, @LindaGuiga has already run this past me :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
), | ||
Either::Right(type2world) => { | ||
let batches = match start { | ||
Either::Left((type1world, mut code)) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change code
to code_hash
? start
only returns code hashes, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
start
is Either<World, Hash2Code>
* Move world into evm_arithmetization * Rustdoc
@0xaatif I took a shot at #779 because it was starting to collide with what I was doing on the type2 branch, please let me know what you think.
Also we'd like to move
World
trait and related structs toevm_arithmetization
instead of thetrace_decoder
for easy reuse across case disjunction on the prover side. Do you have any objection? If not I could even add it to this PR.