Test Tstorage Selfdestruct¶
Documentation for tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py
.
Generate fixtures for these test cases with:
fill -v tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py
Tests for EIP-1153: Transient Storage
Test cases for TSTORE
and TLOAD
opcode calls in reentrancy after self-destruct, taking into
account the changes in EIP-6780.
test_reentrant_selfdestructing_call(state_test, pre_existing_contract, caller_bytecode, callee_bytecode, expected_storage)
¶
Test transient storage in different reentrancy contexts after selfdestructing.
Source code in tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py
209 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 |
|