From 6735dc4bc4ed79425ac78b06ed50afe573d580f6 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 17 Nov 2022 14:28:16 +0100 Subject: [PATCH] use circom 2.1.0 anonymous components Signed-off-by: Csaba Kiraly --- circuits/storer.circom | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/circuits/storer.circom b/circuits/storer.circom index 1b6ab47..35cca8c 100644 --- a/circuits/storer.circom +++ b/circuits/storer.circom @@ -66,11 +66,11 @@ template StorageProver(blockSize, qLen, nLevels) { component checkInclusion[qLen]; for (var i = 0; i < qLen; i++) { - checkInclusion[i] = CheckInclusion(nLevels); - checkInclusion[i].index <== indices[i]; - checkInclusion[i].treeSiblings <== treeSiblings[i]; - checkInclusion[i].chunkHash <== chunkHashes[i]; - checkInclusion[i].root <== root; + CheckInclusion(nLevels)( + indices[i], + chunkHashes[i], + treeSiblings[i], + root); } }