Skip to content

test_simple_create_from_creation()

Documentation for tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py::test_simple_create_from_creation@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_simple_create_from_creation --fork Osaka

Simple EOF creation from a create transaction container.

Source code in tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py
58
59
60
61
62
63
64
65
66
67
68
69
70
71
def test_simple_create_from_creation(
    eof_state_test: EOFStateTestFiller,
):
    """Simple EOF creation from a create transaction container."""
    eof_state_test(
        container=Container(
            sections=[
                returncontract_code_section,
                stop_sub_container,
            ],
            kind=ContainerKind.INITCODE,
        ),
        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-state_test
...fork_Osaka-blockchain_test