Chapter 08 · ~15 min

Now you're dangerous

Operating a chain that has a committee — and changing it without ever mixing histories.

What you’ll walk away with

3:47 am

Before the committee, a page about the sequencer meant the sequencer — one process, and everything behind it, down. Your mental model could be a single box. Now four machines run the chain, one of them can be on fire without anything being wrong, and a perfectly healthy chain can be producing no blocks at all. The old reflex — “restart the thing” — is wrong often enough to be dangerous.

The new reflex fits in one question: what does the committee think? This chapter is that question, cashed out into checks, procedures, and the short list of numbers worth knowing by heart.

The first tool is counting

Chapter 2’s table returns, wearing a pager:

committee nyou can loseat quorum loss
41chain pauses; resumes on its own when a node returns
51same
72same

Three operational readings of that table. First, one down validator is a non-event: the chain doesn’t blink, and the node catches up by itself when it returns. Second, a stopped validator alarms on nothing by itself — it’s the surviving committee’s view (staleness, quorum arithmetic) that tells you whether the loss matters. Third, when you do lose quorum, the chain pauses — and that pause is chapter 2’s asymmetry doing its job: the system chooses to be slow rather than risk being wrong. Restore a node; the chain resumes with no ceremony. Nothing forked. Nothing ever needs “re-syncing to the right history”, because there is exactly one.

Restarts are boring on purpose

kill -9 a validator and bring it back: this is a tested path, not an incident — the chaos rig practices it thousands of times, on purpose, against production containers. What makes it boring is layered:

One number bounds all of this: the catch-up window (≈ epoch_retention × epoch duration). A validator down longer than that outlives its peers’ retained consensus storage; the remedy is a floor restart — wipe the consensus directory, keep the chain data, re-bootstrap from the node’s own finality floor. Documented, guarded, and calm.

The category error

Here is a sentence that should now sound wrong: “we may need to roll back the finalized block.” Roll it back where? A quorum signed it; certificates naming the committee exist on every validator and in every finality store; peers built on it. There is no procedure for un-finalizing a block for the same reason there’s no procedure for un-sending an email that half the company already replied to. Finality isn’t a risky thing to undo — it’s not a thing that has an undo. That’s what your users are paying for.

Two honest consequences follow. First, deposits get slower: under consensus, L1 inputs are ingested only from finalized L1 blocks (~13 minutes on Ethereum), because a BFT-finalized block is irrevocable — the single sequencer’s deep-reorg remedy (roll back and re-sequence) no longer exists, so the chain must never ingest an L1 fact that can vanish. Second, the rollback that is supported is a mode change, not a history change: return the chain to single-sequencer operation. Stop the validators, pick the one with the highest write-ahead-log tip, restart it with consensus off plus an explicit acknowledgment flag. Acknowledging deletes nothing — consensus-era blocks are ordinary history to the resumed sequencer, and the certificates stay durable. (The one subtlety: finality runs slightly ahead of each node’s disk, so a stopping committee’s logs can differ by a block or two at the tip — hence “highest tip”, and a few hundred milliseconds of in-flight blocks as the honest cost of a disaster procedure.)

Changing a running system

Change is where operating a committee differs most from operating a box. Three different things change on three different contracts, and each fails loudly by design:

The protocol version is a flag day. consensus.protocol_version is baked into the network’s handshake and vote signing — a certificate aggregates many signatures over one encoding, so the version is a committee-wide fact that cannot be negotiated per connection. Two versions refuse to pair, loudly, instead of misreading each other’s bytes. The discipline: deploy binaries gradually (safe, routine), then activate together — a coordinated restart with a deliberate, brief halt window in the middle. The /status chain fingerprint doubles as the flip’s progress tracker: a half-flipped committee shows two fingerprints.

Committees change at epoch boundaries. The validator set is fixed within an epoch and changes only by scheduled append, deployed ahead of time. Step through one change end to end — including the sprint, the handoff, and the sharp edge:

(Where does the schedule itself live? Today’s baseline is configuration deployed by operators; the repo also carries an on-chain validator registry with a staged rollout — shadow mode derives committees from chain state and compares them against config until the evidence says flipping to contract mode is safe. The enabling docs map the whole option space; /status tells you which mode a chain runs.)

Released bytes never change. Wire formats — replay records, the consensus block envelope, finality certificates — are immutable once released: golden tests pin every encoding byte-for-byte, and evolution means new versions, never edits. Even upgrading the consensus library itself is a fixed, gated procedure (survey, migrate, regression ladder, soak) whose first commandment is that the goldens pass unmodified. A dependency bump can break a build; it must never be able to move released bytes.

Reading the weather

Metrics literacy, distilled to the lines that matter — the full alarm table with remedies lives in the operating doc, and it’s the page to bookmark:

Now practice. The deck below pages you five times — real scenarios, assembled from the alarm table. For each: read the page and the dashboard excerpt, pick what to check first (exploring wrong options costs nothing — that’s the point of a drill), then make the call. Missions:

  1. Play all five pages. Before each first click, say your check out loud.
  2. Count how many of the five ended with “restart something” as the right first move. (Spoiler: it’s the answer remarkably rarely.)
  3. Page 2 is the one to internalize before your first quiet night on call.
  4. After page 5, notice your own calm: even the adversary case ended in an append to a schedule.

The four things to keep

Where this lives in our stack

Next: you now know how to operate the machine — but why should N independent operators trust it enough to run it at all? Because with a committee, “we’ll hotfix it” stops being a plan: a chain-halting bug means a coordinated multi-organization deploy, negotiated while the chain is down. The next chapter is how this codebase answers that — six layers of tests, from a smoke check that the library even turns to the chaos rig, a fuzzer for operational reality that practices being paged so you rarely are.