Closed RajeshRk18 closed 9 months ago
@Divide-By-0
To run tests, I need to run npm cache clean --force
and then run tests. Idk whats the issue. But, the error seems to be like secp256k1_hash_to_curve_circom lib is corrupted. Checksum failed
We just patched the lib, see the last commit. You'll need to delete yarn lock and remake. https://github.com/geometryresearch/secp256k1_hash_to_curve
Hey -- we have no idea if the changes you made are correct unless we have some test we can use to evaluate the circom circuit. Can you add a circom test via circom-tester to the CI to verify that it's still constrained correctly?
Hey -- we have no idea if the changes you made are correct unless we have some test we can use to evaluate the circom circuit. Can you add a circom test via circom-tester to the CI to verify that it's still constrained correctly?
Create an issue to add circom tester to the CI. I will try.
I tried running tests in my machine. Most of the time, it gets killed, maybe oom issue idk. Can you help me with this?
Yes. Set max workers to 2: https://github.com/zkemail/zk-email-verify/pull/104
You can also use circleci or just have the witness generation be the test.
I suppose @Divide-By-0 reviewed the code, since I only ran the test suite (it's green). And now will be merging, maybe with squashing.
Merged via #65 due to the branch protection.
Fixes #19