-
Notifications
You must be signed in to change notification settings - Fork 49
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
Carlo/halo2 pi #98
Carlo/halo2 pi #98
Conversation
I looked through your code and tested it myself, and everything seems fine, but I can't tell what differences in behavior there are. Does this change how Vamp-IR behaves? Does this just pipe public inputs into the instance columns during halo2 proof creation? |
Before this modification Vamp-IR, when used with halo2 as a backend, was not handling public inputs correctly, as it was treating all inputs as private. So now it is treating public variables as they should, filling the instances column. More so, the prover returns together with the proof also the serilized public inputs to the verifier, which without them could not verify the proof |
Thank you. How would your changes be tested? |
can @XuyangSong or @bazzilic test this out and see if it solves the issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I've tested it. It looks good.
I found you added a gate and a copy to handle the public input. Could we just use the underlying constrain_instance
function in Halo2 to publicize the variables?
I've updated the Taiga code and test. @bazzilic
LGTM apart from @XuyangSong 's concern about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it all looks good, I'll merge it. Those suggestions should be turned into issues with the "enhancement" label.
No description provided.