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

Cancun support (v0.x) #303

Open
wants to merge 1 commit into
base: v0.x
Choose a base branch
from

Conversation

TarekkMA
Copy link

@TarekkMA TarekkMA commented Dec 20, 2024

  • Adds 2 new opcodes (TLOAD and TSTORE) for manipulating state that behaves almost identically to storage but is discarded after every transaction.

    • These new instructions were introduced by EIP-1153 and included in Cancun fork.
  • Adds a new opcode (MCOPY) for copying memory. Implementing this change will be important in ensuring that the same solidity/vyper contract compiles down to the same bytecode.´

    • This new instruction was introduced by EIP-5656 and included in Cancun fork.
  • Changes the behaviour of the self destruct opcode.

* feat: support transient storage opcodes (EIP-1153)

* feat: support memory copying instruction (EIP-5656)

* feat: Support cancun selfdestruct changes (EIP-6780)

---------

Co-authored-by: Agusrodri <[email protected]>
Co-authored-by: Ahmad Kaouk <[email protected]>
Copy link
Contributor

@RomarQ RomarQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have been using these changes in moonbeam for a few months already.

@TarekkMA TarekkMA changed the title Cancun support Cancun support (v0.x) Dec 20, 2024
@RomarQ
Copy link
Contributor

RomarQ commented Dec 20, 2024

Most of these changes have been merged to master, the only missing one is #281 (EIP-6780: SELFDESTRUCT only in same transaction)

@stiiifff
Copy link

stiiifff commented Jan 7, 2025

@sorpaas @koushiro Moonbeam team would love to see this reviewed & merged 🙏 as it is blocking some of our other contributions to this repo & to Frontier.

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