zkp-application / circom-rsa-verify

Zero Knowledge Proof for RSA
MIT License
45 stars 6 forks source link

Test failures #12

Closed TheFrozenFire closed 2 years ago

TheFrozenFire commented 2 years ago

I'm currently working on using your circuits for my own purposes.

I'm trying to run your test suite to ensure that I have the dependencies set up correctly, but I'm getting a variety of errors (e.g. TypeError: compiler is not a function, TypeError: Cannot read property 'prime' of undefined).

Should the test suite run successfully, as-is?

TheFrozenFire commented 2 years ago

The issue was that I had simply run npm i, which preferred the version of circom specified in dependencies (the official one). Forcefully installing the version specified in devDependencies fixes things.