Skip to content

Test Worst Blocks

Documentation for tests/benchmark/[email protected].

Generate fixtures for these test cases for Osaka with:

fill -v tests/benchmark/test_worst_blocks.py --fork Osaka
Tests that benchmark EVMs in worst-case block scenarios.

Tests that benchmark EVMs in worst-case block scenarios.

Tests running worst-case block scenarios for EVMs.

Test Functions Overview

Name Type Cases (Osaka) Description
test_block_full_of_ether_transfers blockchain_test 5 Single test for ether transfer scenarios.
test_block_full_data state_test 2 Test a block with empty payload.
test_block_full_access_list_and_data state_test 1 Test a block with access lists (60% gas) and calldata (40% gas) using random mixed bytes.