In this track: Scaling and layer 2
intermediate · 3 MIN READ

Validity rollups explained

A verifier checks a proof that a state transition follows the encoded rules.

LET’S PICTURE IT

A worked solution can come with a compact certificate that a checker validates under a specified mathematical system.

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.

Proofs relate inputs and outputs

A validity system proves a statement about a state transition or computation. The verifier must bind the correct starting state, resulting state and relevant inputs. A proof is meaningful only for the statement actually checked.

Correct verification is part of the design

Proof-system assumptions, circuits, verifier implementation and upgrade controls affect security. Calling something a proof does not establish that the intended application property was encoded correctly.

Availability is another requirement

Proving a transition is valid does not alone guarantee every user can retrieve all data needed to reconstruct state or exercise an exit. Examine the design’s data-availability arrangement separately.

Validity is not automatic privacy

Zero-knowledge techniques can be used in these systems, but a rollup using proofs does not necessarily hide transaction details. Privacy depends on what the protocol publishes and proves.

QUICK CHECK · NO PRESSURE

Does a validity proof alone guarantee that all underlying data remains available?

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.