Skip to content

Test Transaction Types

Documentation for tests/benchmark/compute/scenario/test_transaction_types.py@892e6d1e.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/compute/scenario/test_transaction_types.py --gas-benchmark-values 1

Benchmark different transaction types.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_auth_transaction benchmark_test 16 Test an auth block.
test_block_full_access_list_and_data benchmark_test 1 Test a block with access lists (60% gas) and calldata (40% gas) using
test_block_full_data benchmark_test 2 Test a block full of calldata, respecting RLP size limits.
test_contract_creation benchmark_test 6 Benchmark contract creations via transactions.
test_empty_block benchmark_test 1 Test running an empty block as a baseline for fixed proving costs.
test_ether_transfers benchmark_test 60 Single test for ether transfer scenarios.
test_ether_transfers_to_precompile benchmark_test 36 Test a block full of ether transfers to a precompile address.