Skip to content

Align delegation FFI with 14-input circuit#39

Merged
czarcas7ic merged 1 commit into
mainfrom
adam/zip-spec-delegation-alignment
Mar 24, 2026
Merged

Align delegation FFI with 14-input circuit#39
czarcas7ic merged 1 commit into
mainfrom
adam/zip-spec-delegation-alignment

Conversation

@czarcas7ic

@czarcas7ic czarcas7ic commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Derive dom = Poseidon("governance authorization", vote_round_id) in the Rust FFI verifier
  • Append dom as 14th public input to verify_proof (was 13)
  • Wire format unchanged (12 × 32-byte chunks / 384 bytes) — dom derived server-side
  • Updated doc comments in C header, Go bindings

Merge order

Depends on valargroup/voting-circuits#9. Merge voting-circuits first.

Derive dom = Poseidon("governance authorization", vote_round_id) in the
FFI verifier and append as 14th public input. Wire format unchanged
(12 chunks / 384 bytes) — dom is derived server-side from vote_round_id.
@czarcas7ic czarcas7ic marked this pull request as ready for review March 23, 2026 07:30
@czarcas7ic czarcas7ic merged commit 1d9161b into main Mar 24, 2026
7 checks passed
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.

2 participants