Skip to content

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
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