Skip to content

Commit

Permalink
Air: implement get_auxiliary_proof_verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
plafer committed Jul 8, 2024
1 parent cbb19a9 commit 35484c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions air/src/gkr_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ use crate::{
verify_virtual_bus, CHIPLETS_OFFSET, TRACE_WIDTH,
};

#[derive(Debug, Default)]
pub struct GkrCircuitVerifier {}

impl GkrCircuitVerifier {
pub fn new() -> Self {
Self::default()
}
}

impl GkrVerifier for GkrCircuitVerifier {
type GkrProof<E: FieldElement> = GkrCircuitProof<E>;
type Error = VerifierError;
Expand Down
6 changes: 6 additions & 0 deletions air/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ impl Air for ProcessorAir {
}
}

fn get_gkr_proof_verifier<E: FieldElement<BaseField = Self::BaseField>>(
&self,
) -> Self::GkrVerifier<E> {
GkrCircuitVerifier::new()
}

// PERIODIC COLUMNS
// --------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 35484c4

Please sign in to comment.