Skip to content

Test SSTORE

Documentation for tests/benchmark/stateful/bloatnet/test_sstore.py@ffe48572.

Generate fixtures for these test cases for Bogota with:

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

Benchmark SSTORE operations on bloated and delegated storage.

Test Functions Overview

Name Type Cases (Bogota) Description
test_sstore_bloated benchmark_test 4 Benchmark SSTORE opcodes targeting an EOA with storage bloated.
test_sstore_dirty_transitions benchmark_test 12 Benchmark SSTORE dirty state transitions.
test_sstore_sparse_slots_multi_contract benchmark_test 4 Benchmark SSTORE to far-apart slots of a fresh contract per tx.
test_sstore_variants benchmark_test 16 Benchmark SSTORE instruction with various configurations.