-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
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
Comments
gsalzer
changed the title
configure/specify evm version for tests
configure/specify EVM version for tests
Jul 30, 2024
zerosnacks
changed the title
configure/specify EVM version for tests
feat(Jul 30, 2024
config
): configure/specify EVM version for tests
zerosnacks
added
C-forge
Command: forge
A-config
Area: config
and removed
A-config
Area: config
labels
Jul 30, 2024
zerosnacks
changed the title
feat(
feat(Jul 31, 2024
config
): configure/specify EVM version for testscheatcodes
): add cheatcode to configure/specify EVM version on a per-test basis
zerosnacks
added
A-cheatcodes
Area: cheatcodes
and removed
A-config
Area: config
labels
Jul 31, 2024
we're looking into making these configs available inline for transient tests #6908 (comment) and evm version will also be available to configure inline / per test |
grandizzy
added
T-post-V1
Area: to tackle after V1
and removed
T-post-V1
Area: to tackle after V1
labels
Nov 7, 2024
grandizzy
changed the title
feat(
feat: allow Nov 7, 2024
cheatcodes
): add cheatcode to configure/specify EVM version on a per-test basisevm_version
config to be defined inline
3 tasks
ref #5371 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cheatcodes
Area: cheatcodes
C-forge
Command: forge
P-normal
Priority: normal
T-feature
Type: feature
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: