Skip to content

Commit

Permalink
Patch Surge
Browse files Browse the repository at this point in the history
  • Loading branch information
moodlezoup committed Sep 20, 2024
1 parent 976b262 commit d9a7aca
Show file tree
Hide file tree
Showing 2 changed files with 712 additions and 863 deletions.
12 changes: 6 additions & 6 deletions jolt-core/src/jolt/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ pub struct JoltTraceStep<InstructionSet: JoltInstructionSet> {
pub circuit_flags: [bool; NUM_CIRCUIT_FLAGS],
}

pub struct JoltDebugInfo<F: JoltField> {
transcript: ProofTranscript,
opening_accumulator: ProverOpeningAccumulator<F>,
pub struct ProverDebugInfo<F: JoltField> {
pub(crate) transcript: ProofTranscript,
pub(crate) opening_accumulator: ProverOpeningAccumulator<F>,
}

impl<InstructionSet: JoltInstructionSet> JoltTraceStep<InstructionSet> {
Expand Down Expand Up @@ -331,7 +331,7 @@ pub trait Jolt<F: JoltField, PCS: CommitmentScheme<Field = F>, const C: usize, c
Self::Subtables,
>,
JoltCommitments<PCS>,
Option<JoltDebugInfo<F>>,
Option<ProverDebugInfo<F>>,
) {
let trace_length = trace.len();
let padded_trace_length = trace_length.next_power_of_two();
Expand Down Expand Up @@ -463,7 +463,7 @@ pub trait Jolt<F: JoltField, PCS: CommitmentScheme<Field = F>, const C: usize, c
};

#[cfg(test)]
let debug_info = Some(JoltDebugInfo {
let debug_info = Some(ProverDebugInfo {
transcript,
opening_accumulator,
});
Expand All @@ -485,7 +485,7 @@ pub trait Jolt<F: JoltField, PCS: CommitmentScheme<Field = F>, const C: usize, c
Self::Subtables,
>,
commitments: JoltCommitments<PCS>,
_debug_info: Option<JoltDebugInfo<F>>,
_debug_info: Option<ProverDebugInfo<F>>,
) -> Result<(), ProofVerifyError> {
let mut transcript = ProofTranscript::new(b"Jolt transcript");
let mut opening_accumulator: VerifierOpeningAccumulator<F, PCS> =
Expand Down
Loading

0 comments on commit d9a7aca

Please sign in to comment.