Chapter 11 · ~14 min

The chain governs itself

When the committee's roster lives in chain state — and why config must stay the floor beneath it.

What you’ll walk away with

N humans and one YAML file

Chapter 8 taught you how a committee changes: an append to the schedule, deployed ahead of time, one validator at a time. It works, and it’s honest about its cost — it is N independent operators each editing the same config correctly, in time for the same epoch. A fat-fingered entry on one node shows up (loudly, as fingerprint drift) before the boundary, but “loudly” still means someone gets paged.

So here’s the idea this chapter turns over: what if the chain itself held the roster? One governance transaction, seen by everyone, instead of N deploys hoped to match. That’s the on-chain validator registry — and it’s a genuinely good idea that comes with a genuinely sharp edge, and the interplay between the two is the most useful thing in this chapter.

The trick: everyone reads the same state

The registry is an L2 contract (ValidatorRegistry.sol) holding validator identities and an append-only schedule of committee changes. The part that makes it a consensus mechanism, not just a config store, is how nodes read it: each validator derives each epoch’s committee by reading the contract’s storage out of its own finalized, applied chain state — no RPC to some node, no eth_call, no dependency on the settlement layer. Just a read of state the committee already agreed on.

Sit with why that matters, because it’s the whole payoff:

A read over consensus-finalized state is bit-identical on every honest node, by construction. One governance transaction, observed the same way by everyone — so the committee uses its own agreement to decide who agrees next.

That’s chapter 6’s determinism and chapter 4’s finality, cashed out as a governance primitive. No coordination protocol needed on top; the coordination is the chain.

The scene below is that mechanism. Three nodes each derive the committee independently from the same registry state; a schedule change (Irene replaces Justinian at epoch 6) sits in the registry. The mode selector is the rollout story we’ll get to. First, just watch the derivation. Missions:

  1. Walk the epoch cursor across the rotation at epoch 6 — the committee changes, and read the line under it: the new committee was decided two epochs earlier, at the end of epoch 4. That lookahead is deliberate — the deciding state is finalized and applied everywhere long before the committee matters, and an incoming validator gets a full epoch of warning.
  2. Read the three node badges: the same committee hash, always. That equality is the entire argument — nobody negotiates the roster; everybody computes it.
  3. (The modes and the ⚠ button — next two sections.)

The sharp edge: you can’t bootstrap from nothing

Now the edge. If the roster lives only in chain state, then changing the roster requires writing to chain state — which requires the chain to be making state, which requires a working committee. See the loop? A control plane that lives entirely on-chain is powerful exactly when the chain is healthy and useless exactly when it isn’t. And “the committee needs to change” and “the chain is stuck” are not unrelated events — the second is often caused by the first being unmet (a member compromised, a member lost past recovery).

This is a specific instance of a load-bearing rule in all of distributed systems, worth saying plainly:

A recovery path must never depend on the thing being recovered.

The registry’s answer is a floor beneath it: a config schedule entry always takes precedence over the registry for its epochs. When the chain can’t govern itself, operators agree the fix out of band, deploy it as ordinary config — the chapter-8 mechanism you already know — and restart onto it. It’s called break-glass because that’s exactly its shape: visible, deliberate, temporary, and there for the day the elegant path is the one that’s broken. You’ll poke at that trap in the “break it” section below.

The ceremony that makes identities safe

Two properties of registry entries are worth understanding, because they’re where the earlier chapters’ cryptography meets an actual adversarial surface — a registry is a place where someone submits a key, so the system cannot be trusting about what it accepts.

Proof of possession. BLS aggregate signatures — chapter 5’s compact certificates — carry a well-known pitfall: aggregation schemes must not trust a public key that its registrant doesn’t actually control (the standard name is a rogue-key concern). The standard defense is exactly what the registry requires: every key is accompanied by a proof of possession, a signature demonstrating the registrant holds the key’s private half. It’s bound to the registrant’s owner address, the chain, and the registry address — so it can’t be lifted onto another chain or registry, or slipped in under someone else’s name — and every node verifies it when deriving a committee. An unproven key is simply refused. The rule in one line: aggregation never trusts a key nobody proved they hold.

Keys are never reused. Once an identity is in the registry it stays reserved, permanently — a key that has served can’t be re-registered later, even after it leaves the active committee. The reason reaches back to the custody trail: old finality certificates must stay verifiable against the exact committee that signed them, forever, and every historical epoch must resolve to a definite roster. Letting a key mean “validator A” in one era and “validator B” in another would blur precisely the attribution that makes certificates and misbehavior evidence meaningful across time. Identities are cheap; ambiguity in the permanent record is not.

Trust is earned in stages

You don’t hand a new mechanism the keys to the committee on day one. The registry rolls out in modes — and this is chapter 9’s testing philosophy applied to a live control plane, so it should feel familiar:

The two buttons you haven’t tried yet in the widget above are this story. Switch the mode selector and watch shadow derive-and-compare while config still drives; switch to contract and the registry drives directly. Then the ⚠ button:

  1. In shadow mode, flip ⚠ malformed registry entry. The derivation refuses, the drift alarms — and config keeps governing, so nothing happens to the chain. You just watched shadow mode earn its keep: it caught the problem where it’s free.
  2. Switch to contract and flip it again. Now the registry governs, so the refusal matters more — and notice what it does: it carries the previous committee forward and alarms. It does not halt. Every failure mode of the registry points the same way: a broken registry pauses rotation, never the chain.

That direction — every registry failure degrading to “keep the last known-good committee, and shout” — is the design’s spine. Combined with the config floor, it means the registry can be wrong, malformed, or absent, and the worst case is always “we didn’t rotate this epoch,” never “the chain is down.”

Try to break it

You’ve seen the elegant path. Now break it. The committee below must change — a validator’s signing key is compromised, so it has to be scheduled out — but excluding it has dropped the committee below quorum, and the chain has halted. You need to rotate. Reach for each lever and find out which one can actually work, and why the other two can’t.

If you reached for the registry first, you’re in good company — it’s the right tool for every ordinary rotation, which is exactly why the reflex is dangerous here. Feeling where it fails, and why the config floor has to exist, is the operational instinct this chapter installs.

The four things to keep

Where this lives in our stack

Next: everything so far — even the registry’s sharp edges — assumed the machinery works: the protocol is sound, the library is correct, our integration is careful, the state transition is right. The last stretch of this guide is what happens when that assumption breaks in the worst way. It’s the disaster chapters, and they’re the reason the careful parts of this system are so careful.