In this track: Trees, roots and proofs
advanced · 4 MIN READ

Storage proofs at a glance

Connect a slot claim through the account’s committed storage root.

LET’S PICTURE IT

A certified cabinet record can point to a second certified drawer index.

SEE IT FOR YOURSELF
Build a root and follow one membership proofStep 1 / 4
Build a root and follow one membership proofA0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956

This example hashes UTF-8 A, B, C and D. The displayed hashes are abbreviated, and the tree uses the playground’s sorted-pair convention.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Calculate the intended slot

A Solidity variable name is not itself a trie key. Determine its actual slot using the compiler layout and mapping or array derivation where needed.

Verify the account layer

Establish the account record against an accepted state root. Its storage root supplies the commitment used for the next proof layer.

Verify the storage key rules

The storage trie uses its specified key preprocessing and value encoding. Do not assume a raw slot number can be inserted directly into a generic binary tree verifier.

Decode the resulting word

A verified slot value still needs the layout’s type and packed offsets. Proving one word does not automatically prove an entire multi-slot struct or application invariant.

Follow the proof model

layout → slot location
account proof → accepted storage root
storage proof → slot value
field layout → interpreted value

Binary examples use the stated local playground convention. They are not Ethereum account or storage trie proofs.

TURN UNDERSTANDING INTO PRACTICEOpen the Merkle trees →
QUICK CHECK · NO PRESSURE

Can one verified packed slot require additional field interpretation?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.