Reference crate
Single source of truth for everything both Noir and TS must agree on:
- Poseidon2 with the domain tag table, using Noir's own blackbox solver
crate for the permutation so parameters cannot drift, and pinned against
bb.jsdigests for every input length residue; Grumpkin ops; Schnorr; envelope encryption. - Note, nullifier, commitment tree, registry tree, context tree (all four regions), state tree, params encoding, attestation encoding.
schema::context_v1andschema::payload_v1loaded from the JSON files at build time; generates the Noirweld::schema::v1accessor module and the TS types.- The golden world and its conformance vectors, emitted by
weld-vectorsas JSON, aProver.tomlforprotocol/conformance/noir, and the mirroreddomainsandschema_v1modules for Noir and TypeScript; pinned by tests in all three languages (TS via bb.js). - The leakage profile as executable tests over recorded transcripts (§9).