Skip to content

Commit

Permalink
Merge pull request #2340 from AleoHQ/clarify_constraint_limit_logic
Browse files Browse the repository at this point in the history
Clarify constraint limit logic
  • Loading branch information
howardwu authored Feb 9, 2024
2 parents 9124cb3 + 4a99b94 commit 24d9c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthesizer/process/src/stack/call/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl<N: Network> CallTrait<N> for Call<N> {
// Inject the existing circuit.
A::inject_r1cs(r1cs);

// If in 'CheckDeployment' mode, set the expected constraint limit.
// If in 'CheckDeployment' mode, reset the constraint limit back to the parent circuit limit.
if let CallStack::CheckDeployment(_, _, _, constraint_limit) = &registers.call_stack() {
A::set_constraint_limit(*constraint_limit);
}
Expand Down

0 comments on commit 24d9c68

Please sign in to comment.