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 #3

Merged
merged 6 commits into from
May 22, 2024
Merged

Cancun support #3

merged 6 commits into from
May 22, 2024

Conversation

RomarQ
Copy link

@RomarQ RomarQ commented May 3, 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.

gasometer/src/costs.rs Outdated Show resolved Hide resolved
@RomarQ RomarQ merged commit 8497979 into moonbeam-polkadot-v1.7.2 May 22, 2024
ahmadkaouk added a commit that referenced this pull request May 30, 2024
* 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 <agusrodriguez2456@gmail.com>
Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com>
gonzamontiel pushed a commit that referenced this pull request Aug 22, 2024
* 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 <agusrodriguez2456@gmail.com>
Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com>
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.

4 participants