Skip to content

Fix Witness Calculator to be compatible with Circom 2#14

Merged
jbaylina merged 5 commits intoiden3:masterfrom
nalinbhardwaj:master
Jan 17, 2022
Merged

Fix Witness Calculator to be compatible with Circom 2#14
jbaylina merged 5 commits intoiden3:masterfrom
nalinbhardwaj:master

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.

@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