test_pc_op()
Documentation for tests/benchmark/compute/instruction/test_control_flow.py::test_pc_op@ffe48572.
Generate fixtures for these test cases for Bogota with:
fill -v tests/benchmark/compute/instruction/test_control_flow.py::test_pc_op --gas-benchmark-values 1
Benchmark PC instruction.
Source code in tests/benchmark/compute/instruction/test_control_flow.py
| @pytest.mark.repricing
def test_pc_op(
benchmark_test: BenchmarkTestFiller,
) -> None:
"""Benchmark PC instruction."""
benchmark_test(
target_opcode=Op.PC,
code_generator=ExtCallGenerator(attack_block=Op.PC),
)
|
Parametrized Test Cases
This test generates 1 parametrized test case across 4 forks.