mirror of
https://github.com/luxfi/proto.git
synced 2026-07-27 07:04:45 +00:00
Salvages Wave 1A agent's incomplete work (27 files, 387+ lines) plus the test fixups needed to make the suite green after the migration. Changes: - x/state/state_test.go: register secp256k1fx-only ParseUTXO factory so utxo.GetUTXO can decode wire bytes back to *lux.UTXO (production uses node/vms/components/lux/utxo_parser.go; test environment needs the equivalent). - x/txs/executor/semantic_verifier_test.go: update one remaining NewCustomParser call site to the new 5-arg signature (xcodectest.New + xlog.Noop). The other 3 call sites were already migrated. All proto/x and proto/p test packages now pass: ok github.com/luxfi/proto/x/state ok github.com/luxfi/proto/x/txs/executor ok github.com/luxfi/proto/p/state ok github.com/luxfi/proto/p/block/executor ok github.com/luxfi/proto/p/txs/executor proto/x codec importer count: 19 → 4. Remaining 4 are utility shims (jsonrpc numerics, metrics) — Wave 1B continuation.