Skip to content

test_rjump_truncated_rjump_2()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py::test_rjump_truncated_rjump_2@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_truncated_rjump_2 --fork Osaka

EOF1I4200_0002 (Invalid) EOF code containing truncated RJUMP.

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py
114
115
116
117
118
119
120
121
def test_rjump_truncated_rjump_2(
    eof_test: EOFTestFiller,
):
    """EOF1I4200_0002 (Invalid) EOF code containing truncated RJUMP."""
    eof_test(
        container=Container.Code(Op.RJUMP + b"\x00"),
        expect_exception=EOFException.TRUNCATED_INSTRUCTION,
    )

Parametrized Test Cases

This test case is only parametrized by fork.

Test ID (Abbreviated)
...fork_Osaka-eof_test