zk-email-verify icon indicating copy to clipboard operation
zk-email-verify copied to clipboard

Checksum fails on snarkjs fork

Open Divide-By-0 opened this issue 1 year ago • 2 comments

On sampritipanda version for https://github.com/sampritipanda/snarkjs/commits/zkemail. The last commit in this fork takes vivek's snarkjs fork, upgrades it to the latest version of snarkjs, fixes merged conflicts randomly till it worked, rewrote the main.cjs by basically deleting and rebuilding the package I think. Because generate_witness.js was generated using a newer version of snarkjs/circom but vivek's version was a older one so it was causing some frontend issues.

It seems main branch works however, which is strange.

Divide-By-0 avatar Apr 25 '23 14:04 Divide-By-0

I'm not able to run the frontend locally, I am getting these errors on yarn install- image

Anurag-Raut avatar Apr 26 '23 18:04 Anurag-Raut

Try removing the commit hash and just use the zkemail branch on that repo, and see if it works? I think the cache sometimes gets corrupted somehow. Try also deleting your yarn lock and doing npm cache clean --force.

@Anurag-Raut try removing the yarn.lock and trying again.

Divide-By-0 avatar Apr 27 '23 00:04 Divide-By-0