Skip to content

test_simple_create_from_deployed()

Documentation for tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py::test_simple_create_from_deployed@21fb11c8.

Generate fixtures for these test cases for Osaka with:

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

Simple EOF creation from a deployed EOF container.

Source code in tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py
43
44
45
46
47
48
49
50
51
52
53
54
55
def test_simple_create_from_deployed(
    eof_state_test: EOFStateTestFiller,
):
    """Simple EOF creation from a deployed EOF container."""
    eof_state_test(
        container=Container(
            sections=[
                eofcreate_code_section,
                returncontract_sub_container,
            ],
        ),
        container_post=Account(storage={slot_code_worked: value_code_worked}),
    )

Parametrized Test Cases

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

Test ID (Abbreviated)
...fork_Osaka-eof_test
...fork_Osaka-eof_state_test
...fork_Osaka-eof_blockchain_test