Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
neotheprogramist committed Jan 9, 2024
1 parent 80b24aa commit 1705feb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/air.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mod diluted;
mod pedersen;
mod autogenerated;
mod traces;
mod config;
mod config;
2 changes: 1 addition & 1 deletion src/air/config.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ struct TracesConfig {
original: TableCommitmentConfig,
interaction: TableCommitmentConfig,
}
// TODO traces_config_validate

// TODO traces_config_validate
19 changes: 5 additions & 14 deletions src/air/traces.cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use cairo_verifier::channel::channel::ChannelTrait;
use cairo_verifier::table_commitment::{
TableUnsentCommitment, TableCommitment, TableDecommitment, TableCommitmentWitness, table_commit, table_decommit,
TableUnsentCommitment, TableCommitment, TableDecommitment, TableCommitmentWitness, table_commit,
table_decommit,
};
use cairo_verifier::air::{public_input::PublicInput, config::TracesConfig};
use cairo_verifier::channel::channel::Channel;
Expand Down Expand Up @@ -83,16 +84,6 @@ fn traces_decommit(
decommitment: TracesDecommitment,
witness: TracesWitness,
) {
table_decommit(
commitment.original,
queries,
decommitment.original,
witness.original
);
table_decommit(
commitment.interaction,
queries,
decommitment.interaction,
witness.interaction
)
}
table_decommit(commitment.original, queries, decommitment.original, witness.original);
table_decommit(commitment.interaction, queries, decommitment.interaction, witness.interaction)
}

0 comments on commit 1705feb

Please sign in to comment.