Skip to content

CANCUN: EIP-5656 MCOPY opcode#946

Open
pldespaigne wants to merge 3 commits intoethereum:cancunfrom
pldespaigne:cancun-eip-5656
Open

CANCUN: EIP-5656 MCOPY opcode#946
pldespaigne wants to merge 3 commits intoethereum:cancunfrom
pldespaigne:cancun-eip-5656

Conversation

@pldespaigne
Copy link
Contributor

@pldespaigne pldespaigne commented Dec 18, 2025

This PR depends on #945, please review it before this one.

EIP-5656 MCOPY opcode

This is the 4th PR aiming to bring the Yellow Paper up to date with Cancun update

This PR translate EIP-5656 into the Yellow Paper.
Here is the PDF version of those changes: Paper.pdf

Defining the new MCOPY opcode

We start by adding the definition of the new opcode (Appendix I.2.)

Screenshot 0

Then we define is gas cost to be the same as the other *COPY opcodes, by including it to the $W_{\mathrm{copy}}$ list (Appendix I.1.)

Screenshot 1

@pldespaigne pldespaigne changed the title Cancun eip 5656 CANCUN: EIP-5656 MCOPY opcode Dec 18, 2025
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.

1 participant