Skip to content

test_rjump_after_container()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py::test_rjump_after_container@21fb11c8.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py::test_rjump_after_container --fork Osaka

EOF1I4200_0006 (Invalid) EOF code containing RJUMP with target outside code bounds (Jumping after code end).

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py
201
202
203
204
205
206
207
208
209
210
211
def test_rjump_after_container(
    eof_test: EOFTestFiller,
):
    """
    EOF1I4200_0006 (Invalid) EOF code containing RJUMP with target outside code bounds
    (Jumping after code end).
    """
    eof_test(
        container=Container.Code(Op.RJUMP[2]),
        expect_exception=EOFException.INVALID_RJUMP_DESTINATION,
    )

Parametrized Test Cases

This test case is only parametrized by fork.

Test ID (Abbreviated)
...fork_Osaka-eof_test