mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
`bench` (external package) referenced quasar.GenerateDualKeys, but the H-1 corona-genesis hardening (98fa4d04d) relocated that trusted-dealer keygen to a package-private _test.go so no production code can route epoch/genesis keying through a trusted dealer. Go's internal-test import-cycle rule leaves the external bench unable to reach it, so `go test ./...` failed: bench/pq_modes_bench_test.go:321: undefined: quasar.GenerateDualKeys Add a bench-local benchDualKeys fixture (also _test.go → still structurally unreachable from production, H-1 preserved) and point pq_modes at it. No production surface touched; re-exporting the helper would have regressed the hardening. Full `go test ./...` now green (28 pkg, 0 fail). Co-authored-by: Hanzo Dev <[email protected]>