Skip to content

Test Tstorage Clear After Tx

Documentation for tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py@verkle@v0.0.5.

Generate fixtures for these test cases for Cancun with:

Cancun only:

fill -v tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.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_clear_after_tx.py --until=Cancun

Ethereum Transient Storage EIP Tests https://eips.ethereum.org/EIPS/eip-1153

Test Functions Overview

Name Type Cases Description
test_tstore_clear_after_deployment_tx blockchain_test 2 This test first creates a contract, which TSTOREs a value 1 in slot 1.
test_tstore_clear_after_tx blockchain_test 2 This test first SSTOREs the TLOAD value of key 1 in slot 1. Then, it TSTOREs 1 in slot 1.