Skip to content

Test Container Size

Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_size.py@091c1aa1.

Generate fixtures for these test cases for PragueEIP7692 with:

fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_container_size.py --fork PragueEIP7692

EOF validation tests for EIP-3540 container size

Test Functions Overview

Name Type Cases (PragueEIP7692) 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