Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enlarge exemption limit #97

Merged
merged 1 commit into from
Jun 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions air/src/air/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ impl<B: StarkField> AirContext<B> {
n > 0,
"number of transition exemptions must be greater than zero"
);
// exemptions which are for more than half the trace are probably a mistake
// exemptions which are for more than half the trace plus one are probably a mistake
assert!(
n <= self.trace_len() / 2,
n <= self.trace_len() / 2 + 1,
"number of transition exemptions cannot exceed {}, but was {}",
self.trace_len() / 2,
self.trace_len() / 2 + 1,
n
);
// make sure the composition polynomial can be computed correctly with the specified
Expand Down