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

Renumber EOF and Transient storage #5550

Merged
merged 6 commits into from
Jun 12, 2023
Merged

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Jun 8, 2023

PR description

As per a recent ACD, the opcode numbers for EOF and Transient Storage have been updated. Update the code and test cases for the new numbers.

Updated list https://hackmd.io/@shemnon/CancunOpcodeAllocation

Fixed Issue(s)

As per a recent ACD, the opcode numbers for EOF and Transient Storage
have been updated.  Update the code and test cases for the new numbers.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

@shemnon shemnon changed the title Renumber EOF ant Transient storage Renumber EOF and Transient storage Jun 8, 2023
VALID, // 0X5e - RJUMPV
VALID, // 0X5c - TLOAD
VALID, // 0X5d - TSTORE
INVALID, // 0X5e
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be VALID for MCOPY

Copy link
Contributor Author

@shemnon shemnon Jun 9, 2023

Choose a reason for hiding this comment

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

This PR was submitted before the MCOPY PR merged

shemnon added 3 commits June 9, 2023 13:16
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM

@shemnon shemnon enabled auto-merge (squash) June 12, 2023 13:26
@shemnon shemnon merged commit 9913a5a into hyperledger:main Jun 12, 2023
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
As per a recent EIP update the opcode numbers for Transient Storage
have been updated.  EOF opcodes were also updated.
Update the code and test cases for the new numbers.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
As per a recent EIP update the opcode numbers for Transient Storage
have been updated.  EOF opcodes were also updated.
Update the code and test cases for the new numbers.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.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.

2 participants