foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Optimism Hardfork Support

Open 0xForerunner opened this issue 1 year ago • 1 comments

Motivation

Allow specifying hardfork when running with optimism

Resolves https://github.com/foundry-rs/foundry/issues/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)

0xForerunner avatar Aug 27 '24 05:08 0xForerunner

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

zerosnacks avatar Aug 27 '24 15:08 zerosnacks