Snark test

This commit is contained in:
poma 2019-07-12 19:34:25 +03:00
parent 3fe8b1cb3a
commit fbbc43c54c
3 changed files with 143 additions and 2 deletions

View file

@ -1,4 +1,3 @@
include "../node_modules/circomlib/circuits/bitify.circom";
include "../node_modules/circomlib/circuits/mimcsponge.circom";
// Computes MiMC(left + right)
@ -71,4 +70,4 @@ template MerkleTree(levels, rounds) {
}
root === hashers[levels - 1].hash;
}
}