From a12dc21ec5023af198697a0d43cc8b230bbff5e9 Mon Sep 17 00:00:00 2001 From: Kyryl Riabov Date: Sat, 7 Sep 2024 21:33:51 +0300 Subject: [PATCH] Added complicated example to the test --- data/Example1.circom | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/Example1.circom b/data/Example1.circom index 97af253..356c22f 100644 --- a/data/Example1.circom +++ b/data/Example1.circom @@ -57,6 +57,9 @@ template nbits(a) { i = out; } outA <== i; + + component commitmentHash = Poseidon(2); + (commitmentHash.inputs[0], commitmentHash.inputs[1]) <== (nullifier, secret); } component main {public [in1]}= A();