Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hratoanina committed Jul 19, 2024
1 parent e977e60 commit f4f936c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions evm_arithmetization/src/all_stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl Table {
} else {
inner += 1;
}
pairs[i] = (inner, outer);
pairs[i] = (outer, inner);
i += 1;
}

Expand All @@ -208,7 +208,7 @@ impl Table {
let mut res = [0; NUM_TABLES];
let mut i = 0;
while i < NUM_TABLES {
res[i] = TABLE_DEGREES[Self::all()[i] as usize];
res[i] = TABLE_DEGREES[Self::all_sorted()[i] as usize];
i += 1;
}

Expand Down
2 changes: 1 addition & 1 deletion evm_arithmetization/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn zkevm_fast_config() -> StarkConfig {
let mut strategy = Vec::new();
for window in Table::all_degree_logs().windows(2) {
if window[0] != window[1] {
strategy.push(window[1] - window[0]);
strategy.push(window[0] - window[1]);
}
}
let mut last_degree = Table::all_degree_logs()[NUM_TABLES - 1];
Expand Down

0 comments on commit f4f936c

Please sign in to comment.