-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(anvil
): latest evm version should be prague
#10653
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
Conversation
This will be included in https://github.com/foundry-rs/foundry/pull/10565/files#diff-b3368a1345af0c697efe45acd7cc1686b8722f6f235a1d16549f7890b48a0a88 but I'm OK with merging this prior to unblock - want to evaluate some unexpected changes more (change in gas, change in CREATE2 address) |
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.
yep, this should be prague
crates/anvil/src/config.rs
Outdated
return OpHardfork::Isthmus.into(); | ||
} | ||
EthereumHardfork::Cancun.into() | ||
EthereumHardfork::Prague.into() |
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 can then use ::default()
here for both
* fix(`anvil`): latest evm version should be prague * fix test * nit
Motivation
Closes #10652
Solution
Return
Prague
as the default/latest hardfork inget_hardfork
PR Checklist