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

feat(anvil): Support newer (Paris, Shanghai) hard forks #5001

Merged
merged 3 commits into from
May 22, 2023

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented May 22, 2023

Anvil wasn't updated to support newer hard forks from the merge onwards—with the shanghai upgrade this has caused some bug reports when forking. This updates it.

@mattsse
Copy link
Member

mattsse commented May 22, 2023

test needs updating

can_get_node_info

@Evalir Evalir merged commit 4f9369f into master May 22, 2023
@Evalir Evalir deleted the evalir/block-conflicting-evm branch May 22, 2023 15:58
@dionysuzx
Copy link

dionysuzx commented May 24, 2023

hello @Evalir @mattsse! i have two questions:

  1. i did foundryup and noticed that i didn't get the latest nightly (which this PR was included in)--it's all fine, I just downloaded the tarball from github releases, and ran the anvil binary which i needed. but i'm curious why did this happen, does foundryup take a little while longer to catch the latest nightly?

  2. is this command expected to be valid: anvil --hardfork shanghai? i'm using the 638bd2e nightly, and i'm getting this error: error: invalid value 'shanghai' for '--hardfork ': Unknown hardfork shanghai. also, when i run cast block against anvil with no --hardfork params, i notice there is no withdrawalsRoot in the block data, so i'm thinking it might not be running a shanghai node.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants