Skip to content

Test Transient Storage

Documentation for tests/benchmark/stateful/bloatnet/test_transient_storage.py@c17999c0.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/stateful/bloatnet/test_transient_storage.py --gas-benchmark-values 1

Benchmark transient storage operations (TSTORE/TLOAD).

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_tstore_same_key benchmark_test 2 Benchmark TSTORE writing the same key repeatedly.
test_tstore_unique_keys benchmark_test 2 Benchmark TSTORE with a unique key per iteration.