-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged commits to support Circom and Solidity verifier for custom gates
Change visibility of CommonCircuitData members Change visibility of SelectorsInfo members Change visibility of fri_all_polys() and fri_zs_polys() Revert "Change visibility of fri_all_polys() and fri_zs_polys()" This reverts commit 4fe841c50a3bd8132a1d990d6c00f4fa717ec01f. Add public_inputs_hash interface Add hash_public_inputs functions Use hash_public_inputs Use hash_public_inputs Change visibility of GateRef Add fn export_solidity_verification_code Add fn export_solidity_verification_code in u32 Implement export_solidity_verification_code() for five gates Refactor Enable debugging Refactoring Refactoring low_degree_interpolation gate done ReducingGate and ReducingExtensionGate done Refactoring and ArithmeticExtensionGate MulExtensionGate done Exponentiation done RandomAccess done WIP poseidon gate Add challenge debug output Revert "Add challenge debug output" This reverts commit 35d7b265200b09563e67f27fd138704be1afeb29. add export circom verification code functions implemented constraints eval Circom circuits for const and public input gates finished first set of full rounds in poseidon gate implement state updates for partial_first_constant_layer and mds_partial_layer_init poseidon gate 1/2 done circom poseidon gate constraints eval done avoid circom bugs add circom implementation of base_sum constraints eval add circom implementation of low_degree_interpolation constraints eval add circom implementation of reducing_extension constraints eval add circom implementation of reducing gate constraints eval add circom implementation of arithmetic gates constraints eval add circom implementation of MulExtensionGate gates constraints eval add circom implementation of Exponentiation gate constraints eval add circom implementation of RandomAccessGate gate constraints eval add circom implementation of PoseidonMdsGate gate constraints eval fix a bug in circom implementation of RandomAccessGate constraints eval remove debug info
- Loading branch information
Showing
35 changed files
with
1,367 additions
and
20 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
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
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.