feat: allow evm_version
config to be defined inline
#8564
Labels
A-cheatcodes
Area: cheatcodes
C-forge
Command: forge
P-normal
Priority: normal
T-feature
Type: feature
Milestone
Component
Forge
Describe the feature you would like
I propose a cheat code that allows to set the EVM version for the current test, ideally with the possibility to execute different tests in a file with different EVM versions (thinking of other Ethereum chains, it might be even interesting to (de)activate single EIPs of main chain forks). This is not covered by specifying the EVM version for solc, as we might want to test a code compiled for a particular EVM version for subsequent EVM versions. Or test a code for other chains that have activated different features.
Additional context
No response
The text was updated successfully, but these errors were encountered: