Skip to content

test_container_multiple_eofcreate_references()

Documentation for tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py::test_container_multiple_eofcreate_references@83970623.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py::test_container_multiple_eofcreate_references --fork Osaka

Test multiple references to the same subcontainer from an EOFCREATE operation.

Source code in tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py
465
466
467
468
469
470
471
472
473
474
475
476
def test_container_multiple_eofcreate_references(eof_test: EOFTestFiller):
    """Test multiple references to the same subcontainer from an EOFCREATE operation."""
    eof_test(
        container=Container(
            sections=[
                Section.Code(
                    code=Op.EOFCREATE[0](0, 0, 0, 0) + Op.EOFCREATE[0](0, 0, 0, 0) + Op.STOP,
                ),
                returncontract_sub_container,
            ],
        ),
    )

Parametrized Test Cases

This test case is only parametrized by fork.

Test ID (Abbreviated)
...fork_Osaka-eof_test