mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
pulsar v1.2.0 removes the small-committee threshold-signer surface (NewThresholdSigner / ThresholdSigner / Round1Message / Round2Message / Combine) in favour of the TALUS no-reconstruct BCC/CEF path. The Pulsar leg of a Quasar cert verifies under the UNMODIFIED FIPS-204 verifier, so a single-key signature under the group key is valid leg evidence — no DKG, no ceremony is needed to GENERATE valid leg bytes for a cert-composition test. Replace signPulsarThresholdLeg (deleted threshold ceremony) with signPulsarLegStock: GenerateKey + Sign via threshold/protocols/pulsar's stock single-key path, returning the same *pulsar.Signature / *pulsar.PublicKey alias types that ComposePolaris and pulsarGroupPK.MarshalBinary already consume. The negative tests (removed / tampered / missing-key Pulsar leg) still reject, so the leg bytes remain load-bearing, not a stub. Corona keygen (threshold/protocols/corona.GenerateKeys) is unchanged — the trusted-dealer fixture name survives in the threshold corona adapter, so no rename was needed in these consensus tests. Production build unaffected (0 non-test refs to the removed APIs). go test ./protocol/quasar/... ./protocol/auth/... ./config/... green; go vet ./protocol/quasar/ clean.