Skip to content

test_rjumpv_backwards_onto_dup()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpv.py::test_rjumpv_backwards_onto_dup@49a16fac.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpv.py::test_rjumpv_backwards_onto_dup --fork Osaka

Backwards jumpv vector onto a dup.

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpv.py
123
124
125
126
127
128
129
130
131
132
133
def test_rjumpv_backwards_onto_dup(
    eof_test: EOFTestFiller,
):
    """Backwards jumpv vector onto a dup."""
    container = Container.Code(
        code=(Op.PUSH0 + Op.DUP1 + Op.RJUMPV[-5] + 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