Skip to content

Test Account Query

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

Generate fixtures for these test cases for Amsterdam with:

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

Benchmark operations that query the state of a target account.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_account_access benchmark_test 100 Benchmark account access with caching strategies.
test_balance_query benchmark_test 10 Benchmark BALANCE paired with a second opcode on factory contracts.
test_ext_account_query_warm benchmark_test 56 Test running a block with as many stateful opcodes doing warm access
test_extcodesize_bytecode_sizes blockchain_test 6 Execute EXTCODESIZE benchmark against pre-deployed contracts.