Skip to content

Test Tstorage Clear After Tx

Documentation for tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py@49c766fb.

Generate fixtures for these test cases for Prague with:

fill -v tests/cancun/eip1153_tstore/test_tstorage_clear_after_tx.py --fork Prague

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

Test Functions Overview

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