Skip to content

Wire Format & Conformance

  • spec/protocol.md — normative wire format & hydration/sync rules
  • spec/wire.schema.json — JSON Schema for HydratedState, StatePatch[], and conformance.json
  • spec/conformance.json — shared v4 test vectors for replay suppression, collection windows, errorRecoveryDiamond, shared-seed differentialFuzz, and the cases below, executed identically by ts/tests/conformance.test.ts (Node V8 + Bun JSC) and rust/crates/zwire/tests/{conformance,differential_fuzz}.rs, covering:
    1. optimisticRebaseCases
    2. stmDraftCases
    3. collectionTopKCases
    4. wireFixtures (unsignedJson, signedJson, hydratedJson, statePatchesJson, nestedEscapedJson)