Test Subcontainer Validation¶
Documentation for tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py@49c766fb
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py --fork Osaka
Test Functions Overview¶
Name | Type | Cases (Osaka) | Description |
---|---|---|---|
test_simple_create_from_deployed |
eof_state_test | 0 | Simple EOF creation from a deployed EOF container |
test_simple_create_from_creation |
eof_state_test | 0 | Simple EOF creation from a create transaction container |
test_reverting_container |
eof_state_test | 0 | Test revert containers |
test_orphan_container |
eof_test | 6 | Test orphaned containers |
test_container_combos_valid |
eof_state_test | 0 | Test valid subcontainer reference / opcode combos |
test_container_combos_invalid |
eof_test | 3 | Test invalid subcontainer reference / opcode combos |
test_container_combos_deeply_nested_valid |
eof_test | 5 | Test valid subcontainer reference / opcode combos on a deep container nesting level |
test_container_combos_deeply_nested_invalid |
eof_test | 3 | Test invalid subcontainer reference / opcode combos on a deep container nesting level |
test_container_combos_non_first_code_sections_valid |
eof_test | 5 | Test valid subcontainer reference / opcode combos in a non-first code section |
test_container_combos_non_first_code_sections_invalid |
eof_test | 3 | Test invalid subcontainer reference / opcode combos in a non-first code section |
test_container_both_kinds_same_sub |
eof_test | 1 | Test subcontainer conflicts (both EOFCREATE and RETURNCONTRACT Reference) |
test_container_both_kinds_different_sub |
eof_test | 1 | Test multiple kinds of subcontainer at the same level |
test_container_multiple_eofcreate_references |
eof_test | 1 | Test multiple references to the same subcontainer from an EOFCREATE operation |
test_container_multiple_returncontract_references |
eof_test | 1 | Test multiple references to the same subcontainer from a RETURNCONTACT operation |
test_subcontainer_wrong_eof_version |
eof_test | 2 | Test a subcontainer with the incorrect EOF version |
test_subcontainer_wrong_size |
eof_test | 4 | Test a subcontainer with the incorrect size in the parent's header |
test_deep_container |
eof_test | 3 | Test a very deeply nested container |
test_wide_container |
eof_test | 4 | Test a container with the maximum number of sub-containers |
test_migrated_eofcreate |
eof_test | 9 | Tests migrated from EOFTests/efValidation/EOF1_eofcreate_valid_.json. |
test_dangling_initcode_subcontainer_bytes |
eof_test | 1 | Initcode mode EOF Subcontainer test with subcontainer containing dangling bytes. |
test_dangling_runtime_subcontainer_bytes |
eof_test | 1 | Runtime mode EOF Subcontainer test with subcontainer containing dangling bytes. |