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

Fix Witness Calculator to be compatible with Circom 2 #14

Merged
merged 5 commits into from
Jan 17, 2022
Merged

Fix Witness Calculator to be compatible with Circom 2 #14

merged 5 commits into from
Jan 17, 2022

Conversation

nalinbhardwaj
Copy link
Contributor

@nalinbhardwaj nalinbhardwaj commented Jan 11, 2022

Updated witness calculator for compatibility with Circom 2. I'm not quite familiar with internal circom code, but I've mostly written this with https://github.com/iden3/circom and https://github.com/nalinbhardwaj/snarkjs as reference. For testing, I've pretty much only made sure browser fullProve and verification work when using snarkjs. Not sure if there's anything else that should be tested.

My personal fork that was tested is in https://github.com/nalinbhardwaj/snarkjs using a modified circuit from https://github.com/nalinbhardwaj/snarky-sudoku

Fixes iden3/snarkjs#107

Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bunch of questions. I wonder if we won't need separate code paths based on the exports.

js/witness_calculator.js Outdated Show resolved Hide resolved
js/witness_calculator.js Outdated Show resolved Hide resolved
js/witness_calculator.js Outdated Show resolved Hide resolved
js/witness_calculator.js Outdated Show resolved Hide resolved
js/witness_calculator.js Outdated Show resolved Hide resolved
@nalinbhardwaj
Copy link
Contributor Author

Rebased on new master and ready to merge.

@jbaylina jbaylina merged commit f25b6c9 into iden3:master Jan 17, 2022
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

Successfully merging this pull request may close these issues.

Can't run fullProve function
3 participants