Skip to content

Commit

Permalink
fix: remove unnecessary constraint which requires zero on unused cells (
Browse files Browse the repository at this point in the history
  • Loading branch information
han0110 authored Oct 25, 2021
1 parent 1f7e38a commit a40168d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions zkevm-circuits/src/evm_circuit/op_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,15 +437,6 @@ impl<F: FieldExt> OpExecutionGadget<F> {
.collect(),
lookups: vec![],
});
constraints.push(Constraint {
name: "case unused",
selector: qs_op.expr() * qs_case.expr(),
polys: unused_idxs
.into_iter()
.map(|idx| free_cells[idx].expr())
.collect(),
lookups: vec![],
});

assert!(
preset_map
Expand Down

0 comments on commit a40168d

Please sign in to comment.