Expand description
Merkle-proof verification for bootstrap values. This is what turns an
eth_getProof answer from “the RPC said so” into a value anchored to a
block header’s state_root — promise #2 for the only records that do not
come from a BAL.
Enums§
- Proof
Error - Why a proof was rejected. Any of these means the value must not be stored.
Functions§
- check_
requested - Check that a proof answers exactly the
requestedslots (any order, no extras). A node that answers for other slots must not be able to plant values under the wrong key. - verify_
account_ proof - Verify the account leaf against
state_root, then every storage proof against the account’sstorage_hash. Returns(slot, value)pairs in the order they appear in the proof. A zero value is proven by absence (exclusion proof), which is exactly the distinction promise #3 needs.