test_reentrant_selfdestructing_call()¶
Documentation for tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py::test_reentrant_selfdestructing_call@verkle@v0.0.6.
Generate fixtures for these test cases for Cancun with:
Cancun only:
fill -v tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py::test_reentrant_selfdestructing_call --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Cancun:
fill -v tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py::test_reentrant_selfdestructing_call --until=Cancun
Test transient storage in different reentrancy contexts after selfdestructing.
Source code in tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Skipped Parameters
For more concise readability, the table below does not list the following parameter values:
fork, blockchain_test, state_test, state_test_only, eof_test, eof_state_test.
| 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 |