Skip to content

Commit

Permalink
chore: adapt to updated AirContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Sep 13, 2024
1 parent 7e880db commit e90914d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions air/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,11 @@ impl Air for ProcessorAir {
let num_main_assertions = 2 + stack::NUM_ASSERTIONS + range::NUM_ASSERTIONS;

// Define the number of boundary constraints for the auxiliary execution trace segment.
//let num_aux_assertions = stack::NUM_AUX_ASSERTIONS;
let num_aux_assertions = 0;
let num_aux_assertions = stack::NUM_AUX_ASSERTIONS;

// Create the context and set the number of transition constraint exemptions to two; this
// allows us to inject random values into the last row of the execution trace.
let context = AirContext::with_logup_gkr(
let context = AirContext::new_multi_segment(
trace_info,
pub_inputs.clone(),
main_degrees,
Expand Down Expand Up @@ -192,8 +191,7 @@ impl Air for ProcessorAir {
last_step,
);

//result
vec![]
result
}

// TRANSITION CONSTRAINTS
Expand Down

0 comments on commit e90914d

Please sign in to comment.