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

Move World trait and related into evm_arithmetization crate #783

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

Nashtare
Copy link
Collaborator

@Nashtare Nashtare commented Nov 6, 2024

No functionality change, just moving things around for type2 integration.

@LindaGuiga Note that I haven't moved all the modules into evm_arithmetization as you had done initially, not sure whether this was for simplicity or because I overlooked something.

@Nashtare Nashtare added this to the Type 2 - CDK Erigon (Q4 2024) milestone Nov 6, 2024
@Nashtare Nashtare self-assigned this Nov 6, 2024
@github-actions github-actions bot added crate: trace_decoder Anything related to the trace_decoder crate. crate: evm_arithmetization Anything related to the evm_arithmetization crate. labels Nov 6, 2024
@LindaGuiga
Copy link
Contributor

LindaGuiga commented Nov 7, 2024

@LindaGuiga Note that I haven't moved all the modules into evm_arithmetization as you had done initially, not sure whether this was for simplicity or because I overlooked something.

When I had done the change, I just thought it would make more sense to have world.rs and the related methods in the same crate. But I'm not at all opposed to only moving world.rs and tries.rs! Especially since that means the tests remain in trace_decoder.

Copy link
Contributor

@LindaGuiga LindaGuiga left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@Nashtare Nashtare merged commit c6581aa into decoder/codehash Nov 7, 2024
21 checks passed
@Nashtare Nashtare deleted the world_into_evm_arith branch November 7, 2024 19:07
Nashtare added a commit that referenced this pull request Nov 7, 2024
* Add Hasher trait to World

* Use dedicated code hasher in processing

* Move `World` trait and related into `evm_arithmetization` crate (#783)

* Move world into evm_arithmetization

* Rustdoc

* Apply suggestion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. crate: trace_decoder Anything related to the trace_decoder crate.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants