From 87c80723438d0298efd71724e6c1c37a19fbf906 Mon Sep 17 00:00:00 2001 From: Andrew Cheng Date: Wed, 20 Nov 2024 17:03:31 +0800 Subject: [PATCH] Update Groth16Verifier.sol: fix snarkjs public signals check bug Fix snarkjs public signals check bug. see https://github.com/iden3/snarkjs/pull/518 --- contracts/src/groth16/Groth16Verifier.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/src/groth16/Groth16Verifier.sol b/contracts/src/groth16/Groth16Verifier.sol index 5f6edb19..0023123c 100644 --- a/contracts/src/groth16/Groth16Verifier.sol +++ b/contracts/src/groth16/Groth16Verifier.sol @@ -185,8 +185,6 @@ contract Groth16Verifier { checkField(calldataload(add(_pubSignals, 128))) - checkField(calldataload(add(_pubSignals, 160))) - // Validate all evaluations let isValid := checkPairing(_pA, _pB, _pC, _pubSignals, pMem)