From 8c6eb953782b6892ba2a70b31d5ee4754c397ea3 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Tue, 22 Nov 2022 14:34:26 +0100 Subject: [PATCH] fix public inputs the root hash should also be a public input 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 dceee1c..ab1b5e8 100644 --- a/circuits/storer.circom +++ b/circuits/storer.circom @@ -77,4 +77,4 @@ template StorageProver(blockSize, qLen, nLevels) { //component main {public [blockHash]} = HashCheck(512); //template StorageProver(blockSize, qLen, nLevels) { //component main {public [indices]} = StorageProver(512, 1, 10); -component main {public [indices]} = StorageProver(10, 22, 20); +component main {public [indices, root]} = StorageProver(10, 22, 20);