Skip to content

test_rjump_into_rjump()

Documentation for tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py::test_rjump_into_rjump@b48d1dc8.

Generate fixtures for these test cases for Osaka with:

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

EOF1I4200_0009 (Invalid) EOF code containing RJUMP with target other RJUMP immediate.

Source code in tests/osaka/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py
775
776
777
778
779
780
781
782
def test_rjump_into_rjump(
    eof_test: EOFTestFiller,
):
    """EOF1I4200_0009 (Invalid) EOF code containing RJUMP with target other RJUMP immediate."""
    eof_test(
        container=Container.Code(Op.RJUMP[1] + Op.RJUMP[0]),
        expect_exception=EOFException.INVALID_RJUMP_DESTINATION,
    )

Parametrized Test Cases

This test case is only parametrized by fork and fixture format.

Test ID (Abbreviated)
...fork_Osaka-eof_test
...fork_Osaka-state_test_from_eof_test
...fork_Osaka-blockchain_test_from_eof_test