Repository navigation
deploy: cutover-fleet-chain22.sh + rehearsal (chain 21 → 22 on v0.8.7, constraint set 11) - #197
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…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 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo
dendisuhubdy
force-pushed
the
feat/cutover-chain22
branch
from
November 19, 2026 21:40
f36d94c to
f97ee76
Compare
dendisuhubdy
added a commit
that referenced
this pull request
Nov 20, 2026
…t 11) - Workspace version 0.8.7: Cargo.toml, the seven workspace crates in Cargo.lock (cargo update -w on the build droplet; offline failed on the rand-zkvm-cuda git dependency), the rand_getVersion test. - CHANGELOG: Unreleased becomes v0.8.7 (tag date a PLACEHOLDER), with a row for #197's cutover-fleet-chain22.sh and the asset list. - docs/releases/v0.8.7.md: the set-11 gas change as a governance record (bundle 20 479 -> 22 527, auth 1 279 -> 1 407, msauth 436 159 -> 355 775; the per-row weights), the chain-22 cut, the operator upgrade steps and the rollback. The chain-22 genesis hash and the CHAIN_CONSTRAINT_SETS row are PLACEHOLDER-... until the cut. - README release table: v0.8.7. AGENTS.md: #194 is merged. Not tagged, not signed, not published. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo
dendisuhubdy
added a commit
that referenced
this pull request
Nov 20, 2026
…t 11) (#198) * v0.8.7: version, changelog and release notes (chain 22, constraint set 11) - Workspace version 0.8.7: Cargo.toml, the seven workspace crates in Cargo.lock (cargo update -w on the build droplet; offline failed on the rand-zkvm-cuda git dependency), the rand_getVersion test. - CHANGELOG: Unreleased becomes v0.8.7 (tag date a PLACEHOLDER), with a row for #197's cutover-fleet-chain22.sh and the asset list. - docs/releases/v0.8.7.md: the set-11 gas change as a governance record (bundle 20 479 -> 22 527, auth 1 279 -> 1 407, msauth 436 159 -> 355 775; the per-row weights), the chain-22 cut, the operator upgrade steps and the rollback. The chain-22 genesis hash and the CHAIN_CONSTRAINT_SETS row are PLACEHOLDER-... until the cut. - README release table: v0.8.7. AGENTS.md: #194 is merged. Not tagged, not signed, not published. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo * v0.8.7 notes: the set-11 address re-derivation (#199) and WALLET22 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
deploy/cutover-fleet-chain22.shand its rehearsal,deploy/rehearse-cutover-fleet-chain22.sh(run withSELFTEST=1). Both are modelled on the chain-21 pair. Nothing else is touched. Do not merge yet. The base isfeat/cs11-revendor(#194).Operator sequence
Run each phase alone. Every phase supports
DRY_RUN=1.Rollback is
halt(only if chain 22 runs), thenrollback,start,wait21. archive2 is never contacted: it is filtered at inventory load, and its name and address are refused by every ssh/scp.Tests
SELFTEST=1 deploy/cutover-fleet-chain22.sh: 210 passed, 0 failed. It runs against 25 fake TEST-NET hosts behind a fake ssh, stub rand-node builds, the real key files, and the real check-beacon-seed.sh and check-constraint-set.sh. It covers:SELFTEST=1 deploy/cut-chain22-genesis.sh: 474 passed, 0 failed.bash -nandshellcheck -xpass on both scripts.🤖 Generated with Claude Code
https://claude.ai/code/session_01YGaYNLS2uLR7w6m2JtejVo