Skip to content

Commit

Permalink
chore: add assert for query_cell_at_pos (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed May 23, 2023
1 parent 7f429a4 commit ae152e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hashes/zkevm-keccak/src/keccak_packed_multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ impl<F: FieldExt> CellManager<F> {
let column = if column_idx < self.columns.len() {
self.columns[column_idx].advice
} else {
assert!(column_idx == self.columns.len());
let advice = meta.advice_column();
let mut expr = 0.expr();
meta.create_gate("Query column", |meta| {
Expand Down

0 comments on commit ae152e0

Please sign in to comment.