Skip to content

Test Block Access List

Documentation for tests/benchmark/compute/eip7928_block_level_access_lists/test_block_access_list.py@20373115.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/compute/eip7928_block_level_access_lists/test_block_access_list.py --gas-benchmark-values 1

Benchmark blocks with block access list (BAL) storage dependencies.

Tests target different BAL optimization paths:

  • Parallel execution: The ability for clients to execute transactions in parallel.
  • State root computation: The ability for clients to compute the post-state root in parallel with execution.
  • Cold storage prefetching: The ability for clients to prefetch cold storage slots in parallel with execution.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_deploy_then_interact benchmark_test 6 Benchmark structural cross-tx code dependencies.
test_mixed_dependency_graph benchmark_test 9 Benchmark partial-order parallel scheduling.
test_parallel_execution_serial_chain benchmark_test 1 Benchmark a fully serial chain as a baseline for parallel execution.
test_prefetch_cold_storage benchmark_test 1 Benchmark cold storage prefetching via an SLOAD linked-list chain.
test_state_root_computation benchmark_test 6 Benchmark state root computation with disjoint storage writes.