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

Commit

Permalink
Debugging constraints removed
Browse files Browse the repository at this point in the history
  • Loading branch information
miha-stopar committed Apr 12, 2024
1 parent f41a249 commit b1c8824
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zkevm-circuits/src/mpt_circuit/storage_leaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,6 @@ impl<F: Field> StorageLeafConfig<F> {

let is_wrong_leaf_case = and::expr(&[config.is_non_existing_storage_proof.expr(), not!(config.parent_data[1].is_extension), not!(config.is_placeholder_leaf[1].expr())]);

require!(is_wrong_leaf_case => 0.expr());
require!(config.is_placeholder_leaf[1].expr() => 0.expr());

// When non-existing-proof, it needs to be one of the following cases:
// (1) wrong leaf, (2) wrong extension node, (3) nil leaf - we need to check the sum of these
// three cases is 1.
Expand Down

0 comments on commit b1c8824

Please sign in to comment.