-
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
Add support for solc 0.8.20
and set default to Shanghai
#4916
Comments
fyi @roynalnaruto |
sick—we can get to this as soon as ethers gets a bump with 0.8.20 support. Ideally it would set Shanghai as the default EVM version too, so we can move over everything to it as well to be in line with the rest of the ecosystem. ( cc @DaniPopes ) |
FYI (for the ones interested), I also added solc |
Set default to "Shanghai" and added support for the |
this was done in #4975 — should we close this and track the actual upgrade to Shanghai as default as a separate issue or edit this one? |
Let's stick to this issue if everyone agrees, so it's easy to find for anyone who searches for the upgrade and default setting to Shanghai. Will update the title of my issue accordingly (Edit: DONE). |
0.8.20
0.8.20
and set default to Shanghai
when saying "set the default to Shanghai" does this mean 1) the compiler will target shanghai without needing to specify and one question.. what is the default evm_version now for foundry when compiling? paris? i was thinking it might be nice to have some version flag on forge / anvil cli to see which evm version is set. |
Hey @d1onys1us — great questions. This means N1. N2 is actually being done right now on this PR: #5001. The current default EVM Version is Paris, but will be set to shanghai after ethers-rs is bumped with it as default. |
what's the status here? |
adding to this--how do I know if anvil is running --shanghai by default? when i do |
We've added support for 0.8.20, but decided to keep forge on Paris as default to avoid more compatibility issues. Will be closing this. @d1onys1us will be opening your comment as a separate issue |
How to set the test environment of Foundry to Shanghai Upgrade? |
You can do this in the |
Thanks, I solved it using --evm-version shanghai in cmd. |
No, too many EVM-based chains do currently not support |
solc
0.8.20
just got released https://github.com/ethereum/solidity/releases/tag/v0.8.20Edit: Added scope to setting default to Shanghai.
The text was updated successfully, but these errors were encountered: