feat: clean up dead code, update deps, add xvm genesis/fx and genesis builder

Remove unused bloom filter, test helpers, metrics scaffolding, and
linearizable VM wrapper. Trim stale go.sum entries. Add genesis builder
helpers and xvm FX/genesis initialization.
This commit is contained in:
Hanzo AI
2026-04-19 17:05:59 -07:00
parent b8c12487e1
commit 3774075c95
65 changed files with 81 additions and 1093 deletions
-13
View File
@@ -123,19 +123,6 @@ func (v *testValidator) toValidatorState() quasar.ValidatorState {
}
}
// signRT creates a mock Corona signature (in production, use actual ML-DSA).
func (v *testValidator) signRT(msg []byte) []byte {
// For testing, create a deterministic signature based on key and message
// In production, this would be an actual ML-DSA signature
sig := make([]byte, mldsa65SigLen)
h := make([]byte, 32)
copy(h, msg)
for i := 0; i < len(sig); i++ {
sig[i] = h[i%32] ^ v.rtPrivKey[i%len(v.rtPrivKey)]
}
return sig
}
// testValidatorSet creates a set of test validators.
func testValidatorSet(n int) ([]*testValidator, error) {
validators := make([]*testValidator, n)