Skip to content

Conversation

@yash-atreya
Copy link
Contributor

Currently, EvmVersion won't get deserialized for spuriousdragon and tangerinewhistle.

This can be reproduced using:

cast run 0x6b5ca68eb4c4b38690ec12ba9f85409b618759646e50ab53b28f9d67f74978fc --rpc-url=https://rpc.ankr.com/eth --evm-version spuriousDragon
Error: failed to extract foundry config:
foundry config error: Unknown evm version: spuriousdragon for key "default.evm_version" in RunArgs for setting `evm_version`

Solution:

Handle camel case and lowercase

@mattsse mattsse merged commit 4a49c1b into main Dec 20, 2024
15 checks passed
@mattsse mattsse deleted the yash/fix-evm-from-str branch December 20, 2024 10:25
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.

4 participants