Date: 2025-05-09
By: Jun Song
Few weeks ago, O wrote a well-organized note about the Partial State, and I've been investigating how we can design the partial state upon existing code. Any feedback is welcome.
Background
Merkle Multiproof
image
For illustration, let's assume there are only 8 fields in the BeaconState. I intentionally omitted most of the fields and left only a few. (FYI: from Electra, there are a total of 37 fields.) The complex fields like validators, fork will have their subtree, but for simplicity, I just labeld them as "Root". Generalized index is denoted as a blue number that indicates the index of the node in the tree.