-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add poseidon relations to UltraKeccak flavor and Solidity verif…
…ier (#8243) Add PoseidonRelation to UltraKeccak and reflect the changes in Solidity verifier. This required : - implementing the Poseidon relations in Solidity and port the Poseidon parameters - changing constants - adding the missing selectors in verification key - regenerate the Lagrange denominators for the Barycentric evaluation (Poseidon becomes the largest relation so the univariates in sumcheck have length 8 rather than 7 so we need more precomputed stuff), - removed hardcoded constants in Zeromorph to aid debugging when we change the number of commitments again Solidity verifier quirks: - moved the relations in a relation library and the transcript in a transcript library which both have an external function because the verifier contract became too big (this might get reverted when optimising the contract) - modified the Javascript test thingy that deploys the verifier contract for flow tests. I had to separately deploy the two libraries link them in the contract's bytecode and only then deploy the contract. Also, now the ultra_honk_tests are typed and run both Ultra and UltraKeccak flavor to have a way of debugging problems in proofs sent to the Solidity contract at bberg level as well. Closes: AztecProtocol/barretenberg#1078
- Loading branch information
1 parent
a662fe3
commit f7e4bfb
Showing
28 changed files
with
1,996 additions
and
4,352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.