mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
PutManifestTx + AllocateTx now encode as [typeByte][ZAP object] instead of [typeByte][json body]. Fixed-offset ZAP objects (FileIDs/pubkey/sig as variable tails, NodeID/Fingerprint as fixed bytes) — deterministic by construction, TxID = Checksum256(wire). Parser dispatches on data[0], rejects trailing bytes (canonical). Removed the unused generic json Marshal[T]. 11 txs tests green (round-trip all fields incl ML-DSA pubkey/sig, determinism, trailing-byte + bad-type rejection); schain/pinning/state suites green. Co-authored-by: Hanzo Dev <[email protected]>