test_embedded_leaf_boundary()¶
Documentation for tests/mpt/test_storage_trie_structure.py::test_embedded_leaf_boundary@ffe48572.
Generate fixtures for these test cases for Bogota with:
Leaf RLP of exactly 30, 31, 32 and 33 bytes.
pre: empty post: ext(n) -> branch@n -> {leaf(63-n), leaf(63-n)}, each 30 to 33 B Under 32 B the leaves are inlined in the branch, from 32 B on hashed. 32 B is reached from the key side (one more nibble at a 1-byte value) and from the value side (a 2-byte value at 53 nibbles).
Source code in tests/mpt/test_storage_trie_structure.py
Parametrized Test Cases¶
This test generates 5 parametrized test cases across 3 forks.