Skip to content

Commit

Permalink
Air is AirTraceVerifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh5 committed Jun 25, 2024
1 parent 64c7e41 commit b878fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/prover/src/core/air/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub use air_ext::{AirExt, AirProverExt};
/// For instance, all interaction elements are assumed to be present in it.
/// Therefore, an AIR is generated only after the initial trace commitment phase.
// TODO(spapini): consider renaming this struct.
pub trait Air {
pub trait Air: AirTraceVerifier {
fn components(&self) -> Vec<&dyn Component>;
}

Expand Down
4 changes: 2 additions & 2 deletions crates/prover/src/core/prover/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use itertools::Itertools;
use thiserror::Error;
use tracing::{span, Level};

use super::air::{AirProver, AirTraceVerifier, AirTraceWriter};
use super::air::{AirProver, AirTraceWriter};
use super::backend::Backend;
use super::fields::secure_column::SECURE_EXTENSION_DEGREE;
use super::fri::FriVerificationError;
Expand Down Expand Up @@ -196,7 +196,7 @@ pub fn prove<B: Backend + MerkleOps<MerkleHasher>>(

pub fn verify(
proof: StarkProof,
air: &(impl Air + AirTraceVerifier),
air: &impl Air,
channel: &mut Channel,
) -> Result<(), VerificationError> {
// Read trace commitment.
Expand Down

0 comments on commit b878fc3

Please sign in to comment.