Skip to content

Validate PIR Merkle proofs#30

Merged
greg0x merged 1 commit into
mainfrom
adam/narrow-pir-proof-validation
May 1, 2026
Merged

Validate PIR Merkle proofs#30
greg0x merged 1 commit into
mainfrom
adam/narrow-pir-proof-validation

Conversation

@czarcas7ic
Copy link
Copy Markdown
Contributor

Validates raw PIR IMT proofs against the queried nullifier and the active round nullifier root before building delegation proofs. Padded-note PIR fetches now validate against the provider root as well, while keeping the public delegation proof API unchanged and leaving the existing pir-client dependency in place.

Validation run:

  • cargo test -p zcash_voting validate_and_convert_pir_proof -- --nocapture
  • cargo test -p zcash_voting test_build_and_prove_validation -- --nocapture

@czarcas7ic czarcas7ic force-pushed the adam/narrow-pir-proof-validation branch from 6155d34 to b1eaab9 Compare May 1, 2026 16:23
@czarcas7ic czarcas7ic marked this pull request as ready for review May 1, 2026 16:43
@greg0x greg0x merged commit f47b779 into main May 1, 2026
3 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