test_truncated_container_with_data()
¶
Documentation for tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py::test_truncated_container_with_data@3719e927
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py::test_truncated_container_with_data --fork Osaka
Test takes a valid container with data and removes some bytes from its tail. Migrated from EOFTests/efValidation/EOF1_truncated_section_.json (cases with data section).
Source code in tests/osaka/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | truncation_len | exception |
---|---|---|
...fork_Osaka-eof_test-truncation_len_0-exception_None | 0 | None |
...fork_Osaka-eof_test-EOF1_truncated_section_4 | 1 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |
...fork_Osaka-eof_test-EOF1_truncated_section_3 | 2 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |
...fork_Osaka-state_test_from_eof_test-truncation_len_0-exception_None | 0 | None |
...fork_Osaka-state_test_from_eof_test-EOF1_truncated_section_4 | 1 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |
...fork_Osaka-state_test_from_eof_test-EOF1_truncated_section_3 | 2 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |
...fork_Osaka-blockchain_test_from_eof_test-truncation_len_0-exception_None | 0 | None |
...fork_Osaka-blockchain_test_from_eof_test-EOF1_truncated_section_4 | 1 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |
...fork_Osaka-blockchain_test_from_eof_test-EOF1_truncated_section_3 | 2 | EOFException.TOPLEVEL_CONTAINER_TRUNCATED |