From 4d14db8ddc3d6d4711d374eb03b8554edc06dd48 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 17 Nov 2022 14:37:02 +0100 Subject: [PATCH] speed up c++ witness calculation using 2.0.8 parallel tag See https://docs.circom.io/circom-language/templates-and-components/#components Signed-off-by: Csaba Kiraly --- circuits/storer.circom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circuits/storer.circom b/circuits/storer.circom index bae330d..dceee1c 100644 --- a/circuits/storer.circom +++ b/circuits/storer.circom @@ -66,7 +66,7 @@ template StorageProver(blockSize, qLen, nLevels) { component checkInclusion[qLen]; for (var i = 0; i < qLen; i++) { - CheckInclusion(nLevels)( + parallel CheckInclusion(nLevels)( indices[i], chunkHashes[i], treeSiblings[i],