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

Checksum fails on snarkjs fork #56

Closed
Divide-By-0 opened this issue Apr 25, 2023 · 2 comments
Closed

Checksum fails on snarkjs fork #56

Divide-By-0 opened this issue Apr 25, 2023 · 2 comments
Labels

Comments

@Divide-By-0
Copy link
Member

Divide-By-0 commented Apr 25, 2023

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.

@Anurag-Raut
Copy link

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

@Divide-By-0
Copy link
Member Author

Divide-By-0 commented Apr 27, 2023

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 Divide-By-0 changed the title Migrate frontend to vite Checksum fails on snarkjs fork Apr 27, 2023
@Divide-By-0 Divide-By-0 added high and removed low labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants