Add log in zkey r1cs verify

This commit is contained in:
Jordi Baylina 2020-12-21 13:30:36 +01:00
parent ec9bfe77cd
commit 7d262eea43
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
5 changed files with 6 additions and 6 deletions

@ -5562,7 +5562,7 @@ async function phase2verifyFromR1cs(r1csFileName, pTauFileName, zkeyFileName, lo
const initFileName = {type: "bigMem"};
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName, logger);
}
async function phase2contribute(zkeyNameOld, zkeyNameNew, name, entropy, logger) {

@ -5774,7 +5774,7 @@ async function phase2verifyFromR1cs(r1csFileName, pTauFileName, zkeyFileName, lo
const initFileName = {type: "bigMem"};
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName, logger);
}
async function phase2contribute(zkeyNameOld, zkeyNameNew, name, entropy, logger) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,6 +7,6 @@ export default async function phase2verifyFromR1cs(r1csFileName, pTauFileName, z
const initFileName = {type: "bigMem"};
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName);
return await phase2verifyFromInit(initFileName, pTauFileName, zkeyFileName, logger);
}