Files
consensus/protocol
zeekayandHanzo Dev fe612fd91f quasar: repoint BLS registration to threshold/scheme/bls — fix boot panic
The node v1.34.12 canary crash-looped:
  panic: threshold: scheme BLS already registered

Double registration: consensus quasar.go still blank-imported the OLD
github.com/luxfi/crypto/threshold/bls (whose init() registers BLS), while
node's warp/signature.go imports the NEW github.com/luxfi/threshold/scheme/bls
(also registers BLS). Both in one binary -> RegisterScheme panics.

The BLS Scheme impl moved crypto/threshold/bls -> luxfi/threshold/scheme/bls
in the threshold consolidation; every OTHER consumer repointed, but this one
blank import in quasar.go was missed and shipped through v1.35.22.

Repoint it. Verified: crypto/threshold/bls leaves the quasar+engine dep
closure entirely (go list -deps: 0), only threshold/scheme/bls remains (1) —
one registration path, no panic. Builds against crypto v1.19.26's interface
(the BLS interface never moved; only the impl did).

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-03 21:13:15 -07:00
..