Skip to content

fix: Add sumcheck input and opening claims to transcript#981

Merged
0xAndoroid merged 4 commits intomainfrom
fix/fiat-shamir-claims
Oct 7, 2025
Merged

fix: Add sumcheck input and opening claims to transcript#981
0xAndoroid merged 4 commits intomainfrom
fix/fiat-shamir-claims

Conversation

@moodlezoup
Copy link
Collaborator

@moodlezoup moodlezoup commented Oct 4, 2025

fiat-shamir remains undefeated as source of soundness bugs

@moodlezoup moodlezoup changed the title Fix/fiat shamir claims fix: Add sumcheck input and opening claims to transcript Oct 4, 2025
@moodlezoup moodlezoup requested a review from Copilot October 4, 2025 03:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a soundness bug in the Fiat-Shamir protocol by ensuring that sumcheck input claims and opening point evaluations are properly added to the transcript. This change is critical for maintaining the security of the zero-knowledge proof system.

  • Adds transcript parameter to sumcheck interfaces to enable proper Fiat-Shamir transformations
  • Updates all sumcheck instances to append claims and evaluations to the transcript
  • Ensures cryptographic soundness by preventing malicious provers from manipulating transcript state

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
jolt-core/src/subprotocols/sumcheck.rs Core sumcheck trait updated with transcript parameter and claim appending
jolt-core/src/poly/opening_proof.rs Opening proof accumulator methods updated to append claims to transcript
jolt-core/src/zkvm/spartan/*.rs Spartan protocol sumcheck instances updated with transcript threading
jolt-core/src/zkvm/registers/*.rs Register checking sumcheck instances updated with transcript parameter
jolt-core/src/zkvm/ram/*.rs RAM verification sumcheck instances updated with transcript threading
jolt-core/src/zkvm/instruction_lookups/*.rs Instruction lookup sumcheck instances updated with transcript parameter
jolt-core/src/zkvm/bytecode/*.rs Bytecode verification sumcheck instances updated with transcript threading
jolt-core/src/zkvm/dag/*.rs DAG stage management updated to handle new transcript-aware sumcheck interface

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@moodlezoup moodlezoup force-pushed the fix/fiat-shamir-claims branch from 8afe8ee to 712b023 Compare October 7, 2025 13:57
@0xAndoroid 0xAndoroid merged commit 60c33cb into main Oct 7, 2025
11 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.

3 participants