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

Merged
merged 7 commits into from May 22, 2024
Merged

Cancun support #206

merged 7 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.

frame/evm/src/lib.rs Outdated Show resolved Hide resolved
frame/evm/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com>
@RomarQ RomarQ merged commit 57a4a2a into moonbeam-polkadot-v1.7.2 May 22, 2024
1 check passed
@librelois librelois deleted the cancun branch May 23, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants