Skip to content

Commit

Permalink
Use CTL challenges directly
Browse files Browse the repository at this point in the history
  • Loading branch information
hratoanina committed Jul 29, 2024
1 parent 94ec346 commit 1309f83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions evm_arithmetization/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,17 +716,16 @@ where
"The degree of the Stark constraints must be <= blowup_factor + 1"
);

let lookup_challenges: Vec<_> = ctl_challenges.challenges.iter().map(|ch| ch.beta).collect();
// Add lookup columns.
let lookups = stark.lookups();
let mut res = {
let mut columns = Vec::new();
for lookup in &lookups {
for &challenge in lookup_challenges.iter() {
for &challenge in ctl_challenges.challenges.iter() {
columns.extend(lookup_helper_columns(
lookup,
trace_poly_values,
challenge,
challenge.beta,
constraint_degree,
));
}
Expand Down

0 comments on commit 1309f83

Please sign in to comment.