Skip to content

Commit

Permalink
fix: unnecessary pc constraint (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian1 authored May 16, 2024
1 parent 00255c1 commit 734d821
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions recursion/program/src/machine/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ where

// Assert that the start_pc of the proof is equal to the current pc.
builder.assert_felt_eq(current_pc, public_values.start_pc);
// Assert that the next_pc is different from the start_pc.
builder.assert_felt_ne(public_values.start_pc, public_values.next_pc);
// Assert that the start_pc is not zero (this means program has halted in a non-last
// shard).
builder.assert_felt_ne(public_values.start_pc, C::F::zero());
Expand Down

0 comments on commit 734d821

Please sign in to comment.