Skip to content

Test Tstorage SELFDESTRUCT

Documentation for tests/cancun/eip1153_tstore/test_tstorage_selfdestruct.py@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 --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 --until=Cancun

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 Functions Overview

Name Type Cases Description
test_reentrant_selfdestructing_call state_test 12 Test transient storage in different reentrancy contexts after selfdestructing.