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

Update evm and Cancun support #1588

Conversation

TarekkMA
Copy link
Contributor

@TarekkMA TarekkMA commented Jan 13, 2025

⚠️ Note:
The behavior of self-destruct has changed in this upgrade. Ensure all Suicided storage is cleaned. Refer to Moonbeam's implementation for guidance: Moonbeam PR #2561.

TarekkMA and others added 2 commits January 13, 2025 14:35
* use Cancun config
* feat: support transient storage (EIP-1153)
* Update evm dependency
* Adds a new opcode (MCOPY) for copying memory
* feat: support cancun selfdestruct changes (EIP-6780)
---------

Co-authored-by: Agusrodri <agusrodriguez2456@gmail.com>
Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com>
@TarekkMA TarekkMA requested a review from sorpaas as a code owner January 13, 2025 12:41
@TarekkMA TarekkMA marked this pull request as draft January 13, 2025 12:55
ts-tests/package.json Outdated Show resolved Hide resolved
@RomarQ
Copy link
Contributor

RomarQ commented Jan 16, 2025

The reason for some calls to be cheaper in this PR is the new MCOPY instruction, which solc 0.8.25 uses in the copying routines emitted by the code generator, lowering the gas cost of high-level copy operations.

Context: https://soliditylang.org/blog/2024/03/14/solidity-0.8.25-release-announcement/

@RomarQ
Copy link
Contributor

RomarQ commented Jan 16, 2025

@boundless-forest @koushiro could you guys also have a look at the changes in this PR?

@TarekkMA TarekkMA marked this pull request as ready for review January 17, 2025 10:05
@boundless-forest boundless-forest merged commit 3a1dde2 into polkadot-evm:master Jan 21, 2025
4 checks passed
@RomarQ RomarQ deleted the tarekkma/update-evm-version branch January 21, 2025 09:49
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.

3 participants