Test Function: test_reentrant_selfdestructing_call()

Test transient storage in different reentrancy contexts after selfdestructing.

Parametrized Test Cases

Test ID callee_bytecode caller_bytecode expected_storage pre_existing_contract
tload_after_selfdestruct_pre_existing_contract {1: 1, 2: 1, 3: 256} True
tload_after_selfdestruct_new_contract {1: 1, 2: 1, 3: 256} False
tload_after_inner_selfdestruct_pre_existing_contract {1: 1, 2: 256} True
tload_after_inner_selfdestruct_new_contract {1: 1, 2: 256} False
tstore_after_selfdestruct_pre_existing_contract {1: 1, 2: 1, 3: 1, 4: 256} True
tstore_after_selfdestruct_new_contract {1: 1, 2: 1, 3: 1, 4: 256} False
tload_after_selfdestruct_pre_existing_contract {1: 1, 2: 1, 3: 256} True
tload_after_selfdestruct_new_contract {1: 1, 2: 1, 3: 256} False
tload_after_inner_selfdestruct_pre_existing_contract {1: 1, 2: 256} True
tload_after_inner_selfdestruct_new_contract {1: 1, 2: 256} False
tstore_after_selfdestruct_pre_existing_contract {1: 1, 2: 1, 3: 1, 4: 256} True
tstore_after_selfdestruct_new_contract {1: 1, 2: 1, 3: 1, 4: 256} False