Skip to content

Test Section Size

Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_section_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_section_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_section_size.py --until=PragueEIP7692

EOF Container, test custom_size field for sections

Test Functions Overview

Name Type Cases Description
test_section_size eof_test 24 Test custom_size is auto, more or less then the actual size of the section
test_truncated_container_without_data eof_test 4 This test takes a semi-valid container and removes some bytes from its tail.
test_truncated_container_with_data eof_test 3 This test takes a valid container with data and removes some bytes from its tail.