Skip to content

Commit

Permalink
Fix block verification (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless authored Nov 9, 2023
1 parent 9c85f58 commit 5b38a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethereum/contracts/zksync/facets/Executor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ contract ExecutorFacet is Base, IExecutor {

function _verifyProof(uint256[] memory proofPublicInput, ProofInput calldata _proof) internal view {
// We can only process 1 batch proof at a time.
require(_proof.serializedProof.length == 1, "t4");
require(proofPublicInput.length == 1, "t4");

bool successVerifyProof = s.verifier.verify(
proofPublicInput,
Expand Down

0 comments on commit 5b38a57

Please sign in to comment.