Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
disable clippy on number of cell const check
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed Jun 23, 2023
1 parent 1db217c commit ac6aa6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zkevm-circuits/src/evm_circuit/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,15 @@ impl<F: Field> CellManager<F> {
}

// Mark columns used for byte lookup
#[allow(clippy::reversed_empty_ranges)]
for _ in 0..N_U8_LOOKUPS {
columns[column_idx].cell_type = CellType::LookupU8;
assert_eq!(advices[column_idx].column_type().phase(), 0);
column_idx += 1;
}

// Mark columns used for byte lookup
#[allow(clippy::reversed_empty_ranges)]
for _ in 0..N_U16_LOOKUPS {
columns[column_idx].cell_type = CellType::LookupU16;
assert_eq!(advices[column_idx].column_type().phase(), 0);
Expand Down

0 comments on commit ac6aa6e

Please sign in to comment.