Skip to content

test_rjumpi_backwards_onto_dup()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py::test_rjumpi_backwards_onto_dup@21fb11c8.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py::test_rjumpi_backwards_onto_dup --fork Osaka

Backwards jumpi onto a dup.

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py
878
879
880
881
882
883
884
885
886
887
888
def test_rjumpi_backwards_onto_dup(
    eof_test: EOFTestFiller,
):
    """Backwards jumpi onto a dup."""
    container = Container.Code(
        code=(Op.PUSH0 + Op.DUP1 + Op.RJUMPI[-4] + Op.STOP),
        max_stack_height=2,
    )
    eof_test(
        container=container,
    )

Parametrized Test Cases

This test case is only parametrized by fork.

Test ID (Abbreviated)
...fork_Osaka-eof_test