Skip to content

Quotient chunk count as const generic - #102

Merged
davxy merged 2 commits into
masterfrom
davxy/quotient-chunks-const-generic
Oct 22, 2026
Merged

davxy merged 2 commits into
masterfrom
davxy/quotient-chunks-const-generic

Conversation

@davxy

@davxy davxy commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Restores the 0.0.10 ring proof encoding and adds test vectors.

#86/#92 made the quotient a Vec<C>: the length prefix grew the ring proof from 592 to 600 bytes and broke the ark-vrf vectors and consequently downstream JAM users.

Changes:

  • Proof and PiopProof take const Q: usize = 1 with quotient_chunks: [C; Q]. No length prefix, so Q = 1 is byte-identical to 0.0.10.
  • Test vectors in w3f-ring-proof/data to prevent accidental changes

@davxy
davxy marked this pull request as ready for review October 22, 2026 09:10
@davxy
davxy merged commit 6939e71 into master Oct 22, 2026
7 checks passed
@davxy
davxy deleted the davxy/quotient-chunks-const-generic branch October 22, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant