mirror of
https://github.com/arnaucube/miksi-core.git
synced 2026-02-07 03:26:41 +01:00
Update to 17 (16) MerkleTree levels
This commit is contained in:
@@ -16,7 +16,7 @@ const smt = require("circomlib").smt;
|
||||
let insVerifier;
|
||||
let insMiksi;
|
||||
|
||||
const nLevels = 5;
|
||||
const nLevels = 17;
|
||||
const secret = ["1234567890", "987654321", "123"];
|
||||
|
||||
const coinCode = "0"; // refearing to ETH
|
||||
@@ -105,6 +105,7 @@ contract("miksi", (accounts) => {
|
||||
});
|
||||
|
||||
it("Calculate witness and generate the zkProof", async () => {
|
||||
this.timeout(10000000);
|
||||
await genZKProof(0, addr2, "1");
|
||||
await genZKProof(1, addr4, "2");
|
||||
await genZKProof(2, addr4, "3");
|
||||
|
||||
Reference in New Issue
Block a user