Loading
fix(tss): gate keysign leader rotation on 3.22.0, not 3.21.2
🔎 Visual review ofaaed8219: explainer, review flags and prompts to ask an AI about the change
What and why
The GG20/ECDSA keysign leader-rotation gate (keysignLeaderRotationVersion) depends on work that ships in 3.22.0, so 3.21.2 cannot enable it. Move the gate from 3.21.2 to 3.22.0 and shift the test boundary accordingly: 3.21.2 and 3.21.3 are now below the gate (rotation off), and 3.22.0 opens it (rotated signature wait + the atomic, consensus-synchronized party-formation switch).
bifrost/tss/go-tss/tss/keysign_leader_rotation.go—keysignLeaderRotationVersion = "3.22.0"- tests updated: version gate, rotated signature-wait timeout, and the signature-wait case.
Self-verification
go test -tags mocknet ./bifrost/tss/go-tss/tss/ -run Keysign # ok
gofmt -l # cleanRisk
- Changes consensus, state or funds handling
- Changes Bifrost observation or signing — moves the TSS keysign leader-rotation activation gate to the release that ships it; no protocol logic change.
- Docs, tests or tooling only
Rollout
Version gate only; the rotation protocol activates fleet-wide when the network consensus version reaches 3.22.0.
Edited by Huginn Ai