deps
This commit is contained in:
parent
9a1509d849
commit
1bbb46a322
@ -1154,7 +1154,7 @@ function stringifyBigInts(Fr, o) {
|
||||
|
||||
async function r1csExportJson(r1csFileName, logger) {
|
||||
|
||||
const cir = await readR1cs(r1csFileName, true, true);
|
||||
const cir = await readR1cs(r1csFileName, true, true, true);
|
||||
const Fr=cir.curve.Fr;
|
||||
delete cir.curve;
|
||||
|
||||
@ -6655,7 +6655,7 @@ async function r1csPrint$1(params, options) {
|
||||
|
||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||
|
||||
const cir = await readR1cs(r1csName, true, true);
|
||||
const cir = await readR1cs(r1csName, true, true, false);
|
||||
|
||||
const sym = await loadSymbols(symName);
|
||||
|
||||
|
@ -4271,7 +4271,7 @@ function stringifyBigInts$1(Fr, o) {
|
||||
|
||||
async function r1csExportJson(r1csFileName, logger) {
|
||||
|
||||
const cir = await readR1cs(r1csFileName, true, true);
|
||||
const cir = await readR1cs(r1csFileName, true, true, true);
|
||||
const Fr=cir.curve.Fr;
|
||||
delete cir.curve;
|
||||
|
||||
|
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
2
cli.js
2
cli.js
@ -332,7 +332,7 @@ async function r1csPrint(params, options) {
|
||||
|
||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||
|
||||
const cir = await readR1cs(r1csName, true, true);
|
||||
const cir = await readR1cs(r1csName, true, true, false);
|
||||
|
||||
const sym = await loadSyms(symName);
|
||||
|
||||
|
@ -22,7 +22,7 @@ export function stringifyBigInts(Fr, o) {
|
||||
|
||||
export default async function r1csExportJson(r1csFileName, logger) {
|
||||
|
||||
const cir = await readR1cs(r1csFileName, true, true);
|
||||
const cir = await readR1cs(r1csFileName, true, true, true);
|
||||
const Fr=cir.curve.Fr;
|
||||
delete cir.curve;
|
||||
|
||||
|
@ -13,7 +13,7 @@ export default async function newZKey(r1csName, ptauName, zkeyName, logger) {
|
||||
const csHasher = Blake2b(64);
|
||||
|
||||
const {fd: fdR1cs, sections: sectionsR1cs} = await binFileUtils.readBinFile(r1csName, "r1cs", 1);
|
||||
const r1cs = await readR1csHeader(fdR1cs, sectionsR1cs);
|
||||
const r1cs = await readR1csHeader(fdR1cs, sectionsR1cs, false);
|
||||
|
||||
const {fd: fdPTau, sections: sectionsPTau} = await binFileUtils.readBinFile(ptauName, "ptau", 1);
|
||||
const {curve, power} = await utils.readPTauHeader(fdPTau, sectionsPTau);
|
||||
|
Loading…
Reference in New Issue
Block a user