Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Update Solidity Verifier#26

Merged
vezenovm merged 2 commits intokw/separate-systemsfrom
mv/new-sol-verifier
Dec 9, 2022
Merged

Update Solidity Verifier#26
vezenovm merged 2 commits intokw/separate-systemsfrom
mv/new-sol-verifier

Conversation

@vezenovm
Copy link
Copy Markdown
Collaborator

@vezenovm vezenovm commented Dec 9, 2022

I am having lots of trouble getting the contract with nargo contract to verify and it looks like it may have some outdated functionality. This follows the experience of external devs, as well as my own when trying to get the Solidity verifier from nargo contract working with proofs generated by the new barretenberg package under noir-lang/aztec-connect.

In preparation for EthBogota, I was using the TS wrapper which is based upon noir-lang/aztec-connect/barretenberg. We had to use a different Solidity verifier where the public inputs are prepended to the proof. I can only verify proofs generated by nargo prove when using the same Sol verifier generated by the TS wrapper after we moved Noir master to the new backend in this PR: noir-lang/noir#551. This PR switches the sol verifier returned by nargo contract to match that from the TS wrapper. I can now verify proofs generated by the updated nargo using the Solidity verifier on this PR.

@vezenovm vezenovm merged commit e3d4c79 into kw/separate-systems Dec 9, 2022
@TomAFrench TomAFrench deleted the mv/new-sol-verifier branch April 19, 2023 18:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants