Skip to content

Test Section Size

Documentation for tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py@008e492e.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py --fork Osaka

EOF Container, test custom_size field for sections.

Test Functions Overview

Name Type Cases (Osaka) 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 Test takes a semi-valid container and removes some bytes from its tail.
test_truncated_container_with_data eof_test 3 Test takes a valid container with data and removes some bytes from its tail.