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