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

EIP-6780: SELFDESTRUCT only in same transaction #67

Open
lorenzogentile404 opened this issue Jan 22, 2025 · 0 comments
Open

EIP-6780: SELFDESTRUCT only in same transaction #67

lorenzogentile404 opened this issue Jan 22, 2025 · 0 comments
Labels
cancun EIP's for the cancun hardfork london to pectra v1 London to pectra v1 will implement For those EIP's that will be implemented on Linea

Comments

@lorenzogentile404
Copy link
Contributor

Impact

This will impact deployments and SELFDESTRUCT:

  • TX_INIT (for deployment transactions)
  • any CREATE/CREATE2 will have to log its ABS_TX_NUM of the current moment
  • the account/ perspective (we need a new field "deployed in transaction X"
  • the processing of the SELFDESTRUCT opcode (in particular the final account wiping row will depend on whether or not the contract in question was deployed in the same transaction or not.)

Notes

Read through
https://hackmd.io/@vbuterin/selfdestruct

Test vectors

  • interaction with CREATE (there should be some tests already)
  • multitransaction test with DEPLOYMENT and CREATE
@lorenzogentile404 lorenzogentile404 added the cancun EIP's for the cancun hardfork label Jan 22, 2025
@OlivierBBB OlivierBBB added the will implement For those EIP's that will be implemented on Linea label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cancun EIP's for the cancun hardfork london to pectra v1 London to pectra v1 will implement For those EIP's that will be implemented on Linea
Projects
None yet
Development

No branches or pull requests

3 participants