- Order zone blocks. It decides the order of every zone’s blocks, so everyone agrees on each zone’s history.
- Keep their data available. Validators store each zone block’s data for a fixed retention period, so anyone can rebuild the block, even if the zone’s Block Producer goes offline.
- Check that each block was executed correctly. Before the beacon chain records a zone’s new state, validators verify evidence that this state is the correct result of running the block.
Consensus
Validators agree on beacon blocks using DispersedSimplex, a consensus protocol. Zero runs it on Commonware, an open-source library. At launch, an initial committee of roughly 30 to 50 validators proposes and finalizes beacon blocks. In each round, one validator, the leader, proposes a block. A beacon block is finalized once more than two-thirds of the committee have signed it. A finalized block is never reverted: the beacon chain has no reorgs. The protocol stays safe and keeps making progress as long as fewer than one third of the committee are faulty, whether offline or malicious. The initial committee stays fixed until an upgrade to Zero, expected on March 31, 2027. That upgrade will rotate the committee periodically, so new validators can join and existing ones can leave. ZRO holders can delegate their tokens to validators and earn a share of the rewards that the validators receive. At launch, every stake is spread equally across all validators. See the ZRO staking site for details on how delegation and rewards work. Since the initial committee is fixed, delegation does not yet affect committee selection. Once the committee rotation begins, the committee will be selected based on the delegated ZRO tokens.A zone block’s life: prepare, commit, settle
Each zone block goes through three steps on the beacon chain.Prepare
The Block Producer erasure-codes the block with scalable verifiable information dispersal (SVID), Zero’s data availability scheme. It splits the block into coded pieces, with enough redundancy that only some of them are needed to rebuild it, and sends one piece to each validator. Once more than two-thirds of the committee have signed for their pieces, their signatures form a certificate of availability. Enough honest validators then hold pieces that anyone can rebuild the block, even if the Block Producer disappears. Validators keep their pieces for at least 259,200 beacon blocks: for example, about 3 days at one block per second.Commit
The Block Producer then submits a commit for the block, together with its certificate of availability. Once a finalized beacon block includes the commit, the zone block and all its transactions are ordered: their place in Zero is fixed. Because the zone’s state transition is deterministic, the block’s execution outcome is fixed too. So any full node that has the block’s data and the zone’s state transition function can compute that outcome independently.Settle
Later, the Block Producer submits the zone’s new state after executing the block, together with evidence that it executed the block correctly. Validators accept this settlement only if both of the following hold:- The result is shown to be correct, in one of two ways:
- Validity proof, the default: a SNARK, a short cryptographic proof that the block was executed correctly. Validators check the proof without running the block themselves.
- Re-execution, the fallback when no validity proof is available: the Block Producer sends the zone block’s transactions, and each validator runs the zone’s state transition function on them to check that the outcome matches the state the Block Producer claims.
- The zone’s guardians have signed the same result.