-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: Bump revm to newest #6357
Conversation
@rakita merkle scripts do not only verify the correctness of state root calculation, they also verify the correctness of the state. more specifically, i'd recommend running |
revm State was not touched and had minimal changes. So revert creation and state change is the same and i didn't felt the need to run it as the fixes that we have were already merged in reth_freeze. The best test for this change is syncing reth, and this, I already did with Holesky. |
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.
Code 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.
This is less invasive than expected, I think overall this lgtm, though I'm having some reservations wrt naming.
I'm being particularly pedantic here:
It's a bit challenging to get familiar with the names, takes some time to get used to this for example:
there's EnvWithHandlerCfg
and CfgEnvWithHandlerCfg
and HandlerCfg
is just the wrapped SpecId, unclear what this has to do with a handler config, besides a feature gated optimism field.
Can we get rid of optimism cfgs eventually by any chance?
there are no docs that cover what the nomenclature is here,
I know they're most likely in the revm mdbook, but this is not very useful, should be directly in the code imo.
the evm type would benefit from some additional helper functions as well
although, I like that we don't have any generics on the handler type, this should make it easier to move this into a config trait
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!
Yeah, I found this pretty confusing too, worth considering renames |
oops meant to click "comment" not "close with comment" |
About I don't especially like these names, but want to have separated HandlerCfg allowed me to wrap Optimism changes and to have the same behaviour as previously. |
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
ack on EOF
needs a re review / approve from @emhane i think to merge |
Integrate revm to newest branch.