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

Optimism Hardfork Support #8749

Merged
merged 2 commits into from
Sep 1, 2024

Conversation

0xForerunner
Copy link
Contributor

@0xForerunner 0xForerunner commented Aug 27, 2024

Motivation

Allow specifying hardfork when running with optimism

Resolves #8732

Solution

Create new enums for optimism hardforks. Parsing is done when converting to config because clap does not support flag dependent value parsers unfortunately (at least as far as I know, If there's a good way to do this I'd love to know)

@zerosnacks
Copy link
Member

Thanks @ewoolsey! Approach looks good to me, pending reviews of others

@klkvr klkvr enabled auto-merge (squash) August 31, 2024 23:53
@klkvr klkvr merged commit d75318c into foundry-rs:master Sep 1, 2024
20 checks passed
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.

feat(anvil): modify --hardfork flag to support Optimism specific hardforks
3 participants