Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkError when running groth16.fullProve in Hardhat test #219

Open
motemotech opened this issue Oct 10, 2024 · 0 comments
Open

LinkError when running groth16.fullProve in Hardhat test #219

motemotech opened this issue Oct 10, 2024 · 0 comments

Comments

@motemotech
Copy link
Collaborator

Description

I met this error when I tried to run groth16.fullProve for dsc_rsa_65537_sha256_4096 circuit.
LinkError: WebAssembly.instantiate(): Import #4 module="runtime" function="printDebug" error: function import requires a callable at Object.builder [as WitnessCalculatorBuilder]
However, I did not met this error when I run groth16.fullProve for prove_rsa_65537_sha256 circuit.

Since dsc_rsa_65537_sha256_4096 circuit is quate large, I can't build this circuit in my M1 MacBook Air 16gb, therefore I built this circuit on wsl on my other pc and share thoroght google drive.
Also, I tried to run groth16.fullProve in my wsl, but in both circuits (prove_rsa_65537_sha256 and dsc_rsa_65537_sha256_4096) there is that error which I provided above.
prove_rsa_65537_sha256 circuit is built in my M1 MacBook Air 16gb, and now working well. Thank you assist from @remicolin.

Environment

For package versions of each dir, pls just refer package.json.

  • M1 MacBook Air
    • Circom: 2.2.0
    • snarkjs: 0.7.4
    • node: v20.9.0
  • WSL
    • Circom: 2.2.0
    • snarkjs: 0.7.4
    • node: v20.16.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant