Repository navigation
Commit f97ee76
deploy: cutover-fleet-chain22.sh — the fleet switch from chain 21 to chain 22 (v0.8.7, constraint set 11)
Modelled on cutover-fleet-chain21.sh, with chain 22's differences:
- beacon-init / beacon-collect: `rand-node beacon init` on each of the 25
validators over SSH into a per-host staging dir (0600, never copied off the
host); the commitments are collected into BEACON_TSV for the cut, and
check-beacon-seed.sh runs at stop, switch, start and wait.
- the seven release files: v0.8.7 rand-node + rand, the set-11 msauth blob
(168d79a8…) and the four perp-vk-production-t18 files beside the binary,
all from the signed SHA256SUMS and re-checked on every host.
- chain 21's msauth blob is backed up with the binaries as *.pre-c22, because
v0.8.6 reads it, so rollback restores a working chain 21.
- the constraint-set check: LOCAL_NODE / tree / vendored zkVM must agree at 11,
every new datadir's marker must be 11, and verify needs the
CHAIN_CONSTRAINT_SETS row.
- the halt guard: stop refuses before contacting any host unless
CONFIRM_HALT_CHAIN21=halt-chain-21-for-<genesis prefix>.
- the inventory comes from configuration/fleet/inventory.tsv (no hard-coded
addresses). archive2 is dropped at load, and its name and address are
refused by every ssh/scp. e and obs1 start after check-limits passes against
the first node (start-archives).
- the bridge: bridge-stop / bridge-start (guardians + relayer). snapshot,
balances and cut call cut-chain22-genesis.sh with PRUNED_SCAN_OK=1.
- a roll record under deploy/roll-records/ (names only).
rehearse-cutover-fleet-chain22.sh (SELFTEST=1) runs every phase against 25
fake TEST-NET hosts with stub rand-node builds and the real key files:
210 passed, 0 failed. SELFTEST=1 cut-chain22-genesis.sh: 474 passed, 0 failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo1 parent 94b2c15 commit f97ee76
2 files changed
Lines changed: 1777 additions & 0 deletions
0 commit comments