Skip to content

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 <[email protected]>
Co-authored-by: Ahmad Kaouk <[email protected]>
@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
@RomarQ
Copy link
Collaborator

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
Collaborator

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
@RomarQ RomarQ mentioned this pull request May 6, 2025
l0r1s pushed a commit to opentensor/frontier that referenced this pull request May 19, 2025
* update evm version

* Cancun support (polkadot-evm#206)

* 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 <[email protected]>
Co-authored-by: Ahmad Kaouk <[email protected]>

* style: formatting

* style: fix clippy errors

* style: fix issues

* revert: test

* fix: solidity pragma

* fix: fix tests

* fix: fix tests

* fix gas tests

* test:update gas estimation result

* use crates.io version

* remove Suicided storage and all related items

* Remove SuicideQuickClearLimit configuration from EVM precompile and related modules

---------

Co-authored-by: Rodrigo Quelhas <[email protected]>
Co-authored-by: Agusrodri <[email protected]>
Co-authored-by: Ahmad Kaouk <[email protected]>
Co-authored-by: Rodrigo Quelhas <[email protected]>
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