privacy-scaling-explorations / maze

Multi proof Aggregation for Zk SNARK on Ethereum
61 stars 2 forks source link

LinkError: WebAssembly.instantiate(): Import #1 module="runtime" function="printErrorMessage" error: function import requires a callable #8

Open Hoanglam1134 opened 1 month ago

Hoanglam1134 commented 1 month ago

LinkError: WebAssembly.instantiate(): Import #1 module="runtime" function="printErrorMessage" error: function import requires a callable

I follow steps on readme and got error while running

snarkjs plonk setupmaze inputs.json circuit_js/circuit.wasm circuit.zkey

I found that snarkjs team had fixed this error (solution) on update version of snarkjs 0.4.26 but the alternative snarkjs in this repo is 0.4.24.

Is there anything i can do to resolve this, I've also tried to write implementation for printErrorMessage function in module run time but it does not work.

stephenyang21 commented 5 days ago

Is there any solution? I have been stuck with the same problem as well