Log zkey verification big circuits
This commit is contained in:
parent
5b769aecf7
commit
b24cbbe0d2
@ -5242,7 +5242,7 @@ async function phase2verify(r1csFileName, pTauFileName, zkeyFileName, logger) {
|
||||
|
||||
// const initFileName = "~" + zkeyFileName + ".init";
|
||||
const initFileName = {type: "mem"};
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName);
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
|
||||
|
||||
const {fd: fdInit, sections: sectionsInit} = await readBinFile$1(initFileName, "zkey", 2);
|
||||
const zkeyInit = await readHeader(fdInit, sectionsInit, "groth16");
|
||||
|
@ -5454,7 +5454,7 @@ async function phase2verify(r1csFileName, pTauFileName, zkeyFileName, logger) {
|
||||
|
||||
// const initFileName = "~" + zkeyFileName + ".init";
|
||||
const initFileName = {type: "mem"};
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName);
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
|
||||
|
||||
const {fd: fdInit, sections: sectionsInit} = await readBinFile(initFileName, "zkey", 2);
|
||||
const zkeyInit = await readHeader(fdInit, sectionsInit, "groth16");
|
||||
|
File diff suppressed because one or more lines are too long
2
build/snarkjs.min.js
vendored
2
build/snarkjs.min.js
vendored
File diff suppressed because one or more lines are too long
@ -84,7 +84,7 @@ export default async function phase2verify(r1csFileName, pTauFileName, zkeyFileN
|
||||
|
||||
// const initFileName = "~" + zkeyFileName + ".init";
|
||||
const initFileName = {type: "mem"};
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName);
|
||||
await newZKey(r1csFileName, pTauFileName, initFileName, logger);
|
||||
|
||||
const {fd: fdInit, sections: sectionsInit} = await binFileUtils.readBinFile(initFileName, "zkey", 2);
|
||||
const zkeyInit = await zkeyUtils.readHeader(fdInit, sectionsInit, "groth16");
|
||||
|
Loading…
Reference in New Issue
Block a user