Skip to content

Data availability

Why every zone block's data stays retrievable on Zero, even if its Block Producer stops, and how validators share the work.

On this page

A zone's result is only verifiable if its blocks can be fetched. If a Block Producer could commit a block and then withhold its data, nobody else could rebuild the zone's state, check it, or carry on from it. Data availability is Zero's guarantee that this can't happen: before a zone block is ordered, its data is spread across the validators so anyone can retrieve it.

›Transcript
  1. Data availability: why every block on Zero stays retrievable.
  2. A zone’s result can only be checked if its blocks can be fetched.
  3. If a Block Producer withheld a block, nobody could rebuild or check the zone.
  4. So before a block is ordered, its Block Producer splits it into pieces.
  5. An erasure code extends them, so the block can be rebuilt from only some pieces.
  6. Each validator gets one piece, plus a short fingerprint of the whole block.
  7. It checks its piece against the fingerprint, stores it, and signs.
  8. More than two-thirds signed: that’s a certificate of availability.
  9. With a certificate, anyone can ask the validators for their pieces.
  10. Pieces that don’t match the fingerprint are discarded. Honest ones rebuild the block.
  11. The validity proof is checked against the same data the validators certified.
  12. So a Block Producer can’t certify one block and prove another.
  13. No validator stores whole blocks: each keeps one small piece of each.
  14. Pieces are kept for a retention window. After that, zone archives keep the history.
  15. If a Block Producer goes offline, its blocks can still be rebuilt and checked.
  16. Split, certify, rebuild. That’s data availability on Zero.
Guarantee
Held by
Scheme
Tolerates

How a block is made available

Zero uses SVID (Scalable Verifiable Information Dispersal), an erasure-coded scheme in the same family as Semi-AVID-PR.

  1. Split and encode. The Block Producer splits the block into pieces and extends them with an erasure code, so the block can be rebuilt from only some of the pieces. It also computes a short fingerprint of the whole block.
  2. Disperse. It sends each validator one piece, together with the fingerprint.
  3. Check and sign. Each validator checks that its piece matches the fingerprint, stores it, and signs to say it holds it.
  4. Certify. Once more than two-thirds of the validators have signed, their signatures combine into a certificate of availability for that block.

The Block Producer submits the certificate when it asks the settlement layer to order the block. A block without one isn't accepted.

Why the certificate is enough

The code is chosen so that the pieces held by honest validators are always enough to rebuild the block. A certificate needs signatures from more than two-thirds of the committee; even if up to a third of those signers are faulty, the rest are honest and each holds a correct piece. So given a certificate, anyone can ask the validators for their pieces, discard any that don't match the fingerprint, and rebuild the block exactly.

The fingerprint also binds the data to the block the zone executed. When the zone's validity proof is checked, it is checked against the same data the validators certified. A Block Producer can't certify one block and prove another.

Why it's cheap for validators

No validator stores whole blocks. Each keeps one small piece of each block, so the work per validator stays small as zones grow. This lets validators run on modest hardware while zones push high throughput.

How long data is kept

Validators keep their pieces for a retention window of at least 259,200 settlement-layer blocks, for example about 3 days at one block per second. That is long enough for any Block Producer, full node or prover to fetch a block while it matters. After that, a zone's history is kept by the zone's own full nodes and archives, not by the settlement layer.

What this means for you

  • No zone depends on one operator's data. If a zone's Block Producer goes offline, its data is still retrievable, so the zone's state can always be rebuilt and checked.
  • Full nodes don't need the Block Producer. A zone full node fetches block data from the validators and verifies it against the certificate. See Reading Zero yourself.