Skip to content

Conversation

nerolation
Copy link
Contributor

πŸ—’οΈ Description

Add two new BAL test cas descriptions for contracts that are created and self-destructed within the same transaction.

  • test_bal_create2_to_A_read_then_selfdestruct: covers contract reading a storage slot before self-destruct.
  • test_bal_create2_to_A_write_then_selfdestruct: covers contract writing to a storage slot before self-destruct.

Both tests ensure BAL includes:

  • Address A with balance_changes.
  • Storage key B under StorageKey access.
  • No storage_changes for B (due to ephemeral lifetime under EIP-6780 semantics).

πŸ”— Related Issues or PRs

fselmo/execution-specs#10

@raxhvl raxhvl changed the base branch from main to feat/eip-7928/test-self-destruct September 26, 2025 06:06
@raxhvl
Copy link
Member

raxhvl commented Sep 26, 2025

@fselmo I have pointed this to the self-destruct branch. I will cover these tests there, lets merge them together.

@fselmo fselmo force-pushed the feat/eip-7928/test-self-destruct branch from 7a01039 to 366e454 Compare September 29, 2025 00:07
@raxhvl raxhvl merged commit b290901 into ethereum:feat/eip-7928/test-self-destruct Sep 29, 2025
16 checks passed
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