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

SELFDESTRUCT'ing COINBASE address tests #1662

Open
OlivierBBB opened this issue Dec 15, 2024 · 0 comments
Open

SELFDESTRUCT'ing COINBASE address tests #1662

OlivierBBB opened this issue Dec 15, 2024 · 0 comments
Assignees
Labels
IRL edge case Real life onflations producing edge cases of our arithmetization testing unit tests

Comments

@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Dec 15, 2024

We require tests where the either

  • the recipient
  • the coinbase
  • the two are the same or not
  • either one is deployed during the transaction or already exists

SELFDESTRUCT, with or without reverting transaction. The right way to do this is as a parametric multi transaction test where in a follow up transaction we query which ever account SELFDESTRUCTed (via BALANCE / EXTCODEHASH / EXTCODESIZE / EXTCODECOPY / CALL / SELFDESTRUCT (as the heir.)

@OlivierBBB OlivierBBB self-assigned this Dec 15, 2024
@OlivierBBB OlivierBBB added testing IRL edge case Real life onflations producing edge cases of our arithmetization unit tests labels Dec 15, 2024
@OlivierBBB OlivierBBB changed the title SELFDESTRUCT'ing COINBASE address SELFDESTRUCT'ing COINBASE address tests Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IRL edge case Real life onflations producing edge cases of our arithmetization testing unit tests
Projects
None yet
Development

No branches or pull requests

2 participants