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

implement EIP-1153: Transient Storage Opcodes #2138

Conversation

pacrob
Copy link
Collaborator

@pacrob pacrob commented Jan 25, 2024

What was wrong?

We need to apply EIP-1153: Transient Storage Opcodes
https://eips.ethereum.org/EIPS/eip-1153

How was it fixed?

  • Add new opcodes and mnemonics to respective base vm files.
  • Add gas costs to Cancun constants
  • Add opcodes via NEW_OPCODES in Cancun opcodes (still WIP)

Todo:

  • Clean up commit history

  • Add or update documentation related to these changes

  • Add entry to the release notes

Cute Animal Picture

image

- Update ``CancunMiningHeader``, ``CancunBlockHeader`` and ``CancunBlock`` to
  include the new fields: ``blob_gas_used``, ``excess_blob_gas``, and ``parent_beacon_block_root``.

- Inherit from ``ShanghaiBackwardsHeader`` and create a ``CanunBackwardsHeader`` that can serialize all known headers.
- Should we make sure to update the Cancun state with the contract at
  BEACON_ROOTS_ADDRESS if it doesn't exist yet since it is vital to
  this EIP?
@pacrob pacrob changed the title start adding opcodes and values implement EIP-1153: Transient Storage Opcodes Jan 25, 2024
@pacrob
Copy link
Collaborator Author

pacrob commented Mar 6, 2024

close in favor of #2142

@pacrob pacrob closed this Mar 6, 2024
@pacrob pacrob deleted the eip-1153-transient-storage-opcodes branch March 6, 2024 23:32
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.

None yet

2 participants