Skip to content

Commit

Permalink
assert continuous_page_headers dont exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Sep 9, 2024
1 parent 3040d6f commit 0b791d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/air/public_input.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ fn verify_cairo1_public_input(public_input: @PublicInput) -> (felt252, felt252)

assert(initial_ap < MAX_ADDRESS, 'Invalid initial_ap');
assert(final_ap < MAX_ADDRESS, 'Invalid final_ap');

// TODO support continuous memory pages
assert(public_input.continuous_page_headers.len() == 0, 'Invalid continuous_page_headers');

let memory = public_input.main_page;

// 1. Program segment
Expand Down

0 comments on commit 0b791d5

Please sign in to comment.