Closed fubuloubu closed 1 month ago
Why not have it both at top level and in the forks?
OK I got the non-breaking change version in the attached PR you can set the evm-version at foundry's config, root, not in the forks. the forks still work, but if they are not set, it will use the global one.
I think this is better because it gives you more control if you need it, but you can also just use the root level evm-version for ease.
Overview
It would be useful to be able to run anvil in a non-forked configuration using different evm rules, such as right now I am trying to test an EIP from Cancun while Anvil is still using Paris rules by default
Specification
Move it to the top level config like following
Dependencies
This will definitely conflict with how evm version works with fork networks
could be related to #88