Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Aug 28, 2024
1 parent d9dab7d commit 70dc8ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/air/layouts/dynamic/traces.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,17 @@ impl TracesConfigImpl of TracesConfigTrait {
log_eval_domain_size: felt252,
n_verifier_friendly_commitment_layers: felt252,
) {
let mut dynamic_params_span = public_input.dynamic_params.span();
let dynamic_params = Serde::<DynamicParams>::deserialize(ref dynamic_params_span).unwrap();

assert_in_range(*self.original.n_columns, 1, MAX_N_COLUMNS + 1);
assert_in_range(*self.interaction.n_columns, 1, MAX_N_COLUMNS + 1);
assert(
*self.original.n_columns == (*dynamic_params.num_columns_first).into(),
*self.original.n_columns == dynamic_params.num_columns_first.into(),
'Wrong number of columns'
);
assert(
*self.interaction.n_columns == (*dynamic_params.num_columns_second).into(),
*self.interaction.n_columns == dynamic_params.num_columns_second.into(),
'Wrong number of columns'
);

Expand Down
2 changes: 1 addition & 1 deletion src/oods.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use cairo_verifier::{
// air::layouts::dynamic::{
// AIRComposition, AIROods, DynamicAIRCompositionImpl,
// DynamicAIROodsImpl, global_values::InteractionElements,
// public_input::PublicInput, traces::TracesDecommitment, constants::{CONSTRAINT_DEGREE, NUM_COLUMNS_FIRST, NUM_COLUMNS_SECOND, DynamicParams},
// public_input::PublicInput, traces::TracesDecommitment, constants::{CONSTRAINT_DEGREE, DynamicParams},
// },
// === DYNAMIC END ===
table_commitment::table_commitment::TableDecommitment
Expand Down

0 comments on commit 70dc8ae

Please sign in to comment.