test_reentrant_selfdestructing_call()
¶
Documentation for tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py::test_reentrant_selfdestructing_call@49a16fac
.
Generate fixtures for these test cases for Prague with:
fill -v tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py::test_reentrant_selfdestructing_call --fork Prague
Test transient storage in different reentrancy contexts after selfdestructing.
Source code in tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py
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 251 252 253 254 255 256 257 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | callee_bytecode | caller_bytecode | expected_storage | pre_existing_contract |
---|---|---|---|---|
...fork_Cancun-blockchain_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Cancun-blockchain_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Cancun-blockchain_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Cancun-blockchain_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Cancun-blockchain_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Cancun-blockchain_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False | ||
...fork_Cancun-state_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Cancun-state_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Cancun-state_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Cancun-state_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Cancun-state_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Cancun-state_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False | ||
...fork_Prague-blockchain_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Prague-blockchain_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Prague-blockchain_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Prague-blockchain_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Prague-blockchain_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Prague-blockchain_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False | ||
...fork_Prague-state_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Prague-state_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Prague-state_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Prague-state_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Prague-state_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Prague-state_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False | ||
...fork_Osaka-blockchain_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Osaka-blockchain_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Osaka-blockchain_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Osaka-blockchain_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Osaka-blockchain_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Osaka-blockchain_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False | ||
...fork_Osaka-state_test-tload_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 256} | True | ||
...fork_Osaka-state_test-tload_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 256} | False | ||
...fork_Osaka-state_test-tload_after_inner_selfdestruct_pre_existing_contract | {1: 1, 2: 256} | True | ||
...fork_Osaka-state_test-tload_after_inner_selfdestruct_new_contract | {1: 1, 2: 256} | False | ||
...fork_Osaka-state_test-tstore_after_selfdestruct_pre_existing_contract | {1: 1, 2: 1, 3: 1, 4: 256} | True | ||
...fork_Osaka-state_test-tstore_after_selfdestruct_new_contract | {1: 1, 2: 1, 3: 1, 4: 256} | False |