test_withdrawal_leaf_embedding_boundary()¶
Documentation for tests/mpt/test_withdrawals_trie_structure.py::test_withdrawal_leaf_embedding_boundary@02aafd78.
Generate fixtures for these test cases for Bogota with:
fill -v tests/mpt/test_withdrawals_trie_structure.py::test_withdrawal_leaf_embedding_boundary --fork Bogota
Two withdrawals whose leaves are exactly 31, 32 or 33 bytes.
post: branch@0 -> {8: leaf(1) index 0, 0: leaf(1) index 1}
amount's byte length decides whether the leaves are inlined.
Source code in tests/mpt/test_withdrawals_trie_structure.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 3 forks.