enable sanity check by default

This commit is contained in:
poma 2021-09-25 11:56:07 +03:00
parent 616c2d3069
commit f37f146948
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
5 changed files with 6 additions and 6 deletions

View File

@ -5841,7 +5841,7 @@ async function wtnsCalculate(input, wasmFileName, wtnsFileName, options) {
await fdWasm.close(); await fdWasm.close();
const wc = await circom_runtime.WitnessCalculatorBuilder(wasm); const wc = await circom_runtime.WitnessCalculatorBuilder(wasm);
const w = await wc.calculateBinWitness(input); const w = await wc.calculateBinWitness(input, true);
const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2); const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2);

View File

@ -1108,7 +1108,7 @@ async function wtnsCalculate(input, wasmFileName, wtnsFileName, options) {
await fdWasm.close(); await fdWasm.close();
const wc = await circom_runtime.WitnessCalculatorBuilder(wasm); const wc = await circom_runtime.WitnessCalculatorBuilder(wasm);
const w = await wc.calculateBinWitness(input); const w = await wc.calculateBinWitness(input, true);
const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2); const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@ export default async function wtnsCalculate(input, wasmFileName, wtnsFileName, o
await fdWasm.close(); await fdWasm.close();
const wc = await WitnessCalculatorBuilder(wasm); const wc = await WitnessCalculatorBuilder(wasm);
const w = await wc.calculateBinWitness(input); const w = await wc.calculateBinWitness(input, true);
const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2); const fdWtns = await binFileUtils.createBinFile(wtnsFileName, "wtns", 2, 2);