fix: new import style from circom_runtime
This commit is contained in:
parent
200db1f7bf
commit
3e1ea8a6da
@ -1,10 +1,8 @@
|
||||
import * as fastFile from "fastfile";
|
||||
import circomRuntime from "circom_runtime";
|
||||
import { WitnessCalculatorBuilder } from "circom_runtime";
|
||||
import * as wtnsUtils from "./wtns_utils.js";
|
||||
import * as binFileUtils from "@iden3/binfileutils";
|
||||
|
||||
const { WitnessCalculatorBuilder } = circomRuntime;
|
||||
|
||||
export default async function wtnsCalculate(input, wasmFileName, wtnsFileName, options) {
|
||||
|
||||
const fdWasm = await fastFile.readExisting(wasmFileName);
|
||||
|
@ -1,11 +1,9 @@
|
||||
import * as fastFile from "fastfile";
|
||||
import circomRuntime from "circom_runtime";
|
||||
import { WitnessCalculatorBuilder } from "circom_runtime";
|
||||
import * as wtnsUtils from "./wtns_utils.js";
|
||||
import * as binFileUtils from "@iden3/binfileutils";
|
||||
import loadSyms from "./loadsyms.js";
|
||||
|
||||
const { WitnessCalculatorBuilder } = circomRuntime;
|
||||
|
||||
export default async function wtnsDebug(input, wasmFileName, wtnsFileName, symName, options, logger) {
|
||||
|
||||
const fdWasm = await fastFile.readExisting(wasmFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user