Skip to content

test_rjumpi_truncated_2()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py::test_rjumpi_truncated_2@83970623.

Generate fixtures for these test cases for Osaka with:

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

EOF1I4200_0015 (Invalid) EOF code containing truncated RJUMPI.

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py
295
296
297
298
299
300
301
302
303
304
305
306
307
308
def test_rjumpi_truncated_2(
    eof_test: EOFTestFiller,
):
    """EOF1I4200_0015 (Invalid) EOF code containing truncated RJUMPI."""
    eof_test(
        container=Container(
            sections=[
                Section.Code(
                    code=Op.PUSH1(0) + Op.RJUMPI + 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