Skip to content

Test Container Validation

Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_validation.py@verkle@v0.0.4.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_validation.py --fork=PragueEIP7692 --evm-bin=/path/to/evm-tool-dev-version

For all forks up to and including Pragueeip7692:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_validation.py --until=PragueEIP7692

EOF validation tests for EIP-3540 container format

Test Functions Overview

Name Type Cases Description
test_valid_containers eof_test 8 Test creating various types of valid EOF V1 contracts using legacy
test_invalid_containers eof_test 107 Test creating various types of valid EOF V1 contracts using legacy
test_magic_validation eof_test 30 Verify EOF container 2-byte magic
test_version_validation eof_test 5 Verify EOF container version
test_single_code_section eof_test 4 Verify EOF container maximum number of code sections
test_max_code_sections eof_test 4 Verify EOF container maximum number of code sections