Skip to content

Fix ZK verifier mode handling#1647

Merged
0xAndoroid merged 1 commit into
a16z:mainfrom
quangvdao:quang/fix-zk-verifier-mode
Jun 25, 2026
Merged

Fix ZK verifier mode handling#1647
0xAndoroid merged 1 commit into
a16z:mainfrom
quangvdao:quang/fix-zk-verifier-mode

Conversation

@quangvdao

Copy link
Copy Markdown
Contributor

Summary

  • Derive the modular verifier ZK mode from proof.claims.is_zk() in helper/example/generated verifier paths.
  • Preserve standard proof behavior while allowing ZK proofs to reach the committed sumcheck and BlindFold verifier path.

Root Cause

Some verifier call sites passed zk = false unconditionally after the modular verifier split. That causes valid ZK proofs to fail consistency checks as if they were clear proofs.

Validation

  • cargo fmt -q
  • cargo check -q -p jolt-sdk --tests --features host
  • cargo check -q -p recursion
  • cargo check -q -p jolt-eval
  • cargo check -q --features host
  • cargo clippy --all --features host -q --all-targets -- -D warnings
  • cargo clippy --all --features host,zk -q --all-targets -- -D warnings
  • cargo nextest run -p jolt-prover-legacy muldiv --cargo-quiet --features host
  • cargo nextest run -p jolt-prover-legacy muldiv --cargo-quiet --features host,zk

Posted by the assistant on behalf of Quang Dao using GPT-5.

@github-actions github-actions Bot added the no-spec PR has no spec file label Jun 25, 2026
@quangvdao quangvdao marked this pull request as ready for review June 25, 2026 16:01
@0xAndoroid 0xAndoroid merged commit 78807ef into a16z:main Jun 25, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-spec PR has no spec file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants