Skip to content
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: Add support for cancun evm version #2746

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rimrakhimov
Copy link

This PR adds a new "Cancun" evm version into the enum of supported evm versions.

Motivation

Starting from v0.8.24 a new "Cancun" network upgrade has been added into solidity compilers. The corresponding ethers-solc::EvmVersion has not been updated though, which results in inability for clients to use "Cancun" evm version when compiling the contracts using default ethers-solc::CompilerInput.

"Shanghai" remains a default evm version as v0.8.24 release does not yet make "Cancun" its default target

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@rimrakhimov
Copy link
Author

I've found the "Cancun" implementation in foundry-compilers crate and moved to it from ethers-solc. Will leave the PR open in case if you will still find it useful, but is not required for me anymore

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.

None yet

1 participant