Skip to content

Test Worst Bytecode

Documentation for tests/benchmark/test_worst_bytecode.py@5e681944.

Generate fixtures for these test cases for Prague with:

fill -v tests/benchmark/test_worst_bytecode.py --fork Prague
Tests that benchmark EVMs in worst-case opcode scenarios.

Tests that benchmark EVMs in worst-case opcode scenarios.

Tests that benchmark EVMs in worst-case opcode scenarios.

Test Functions Overview

Name Type Cases (Prague) Description
test_worst_bytecode_single_opcode blockchain_test 7 Test a block execution where a single opcode execution maxes out the gas limit,
test_worst_initcode_jumpdest_analysis state_test 6 Test the jumpdest analysis performance of the initcode.