Skip to content

Test Container Size

Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_size.py@f6ab9733.

Generate fixtures for these test cases for Pragueeip7692 with:

Pragueeip7692 only:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_size.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_size.py --until=PragueEIP7692

EOF validation tests for EIP-3540 container size

Test Functions Overview

Name Type Cases Description
test_max_size eof_test 4 Verify EOF container valid at maximum size, invalid above
test_above_max_size_raw eof_test 2 Verify EOF container invalid above maximum size, regardless of header contents
test_section_after_end_of_container eof_test 4 Verify EOF container is invalid if any of sections declares above container size