-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP generating test proof * KZG test generator done * Add verifier index * Update makefile * Verifier steps * chore: forge init * forge install: forge-std v1.7.1 * rest.yml removed * Initial files * serializedProof as an input * Added some operations over bn254 using precompiles * Moved bn254.sol * BN254.sol file included * Added bn254 test * Fix test * Deprecated old verifier * Delete duplicated file * Fix foundry submodule name * WIP deserialize_proof in verifier.sol * adding ark-bn254 crate * bn254 file * Add fields demo (#45) * WIP Implementing Fields and Commitments * Added inv field * Added scalar field * Added 'using for' * Small tweak * Added base field test * Fixed base test, added scalar test * Removed inv * Solidity verifier step 2 (#51) * WIP step 2 * WIP step 2 * Added polycomm msm, continued step2 * Added mask_custom * Remove commented blocks * deserialization of opening proof * improving error return in deserializeOpeningProof * changes in test_deserialize_opening_proof * Replace solidity verifier bn254 lib and fixes (#54) * WIP replace bn254 lib * Fix length * Multiple fixes * Added partial_verify run test * Fix partial verify test * Add CI job * Added setup step to CI job * Added ci make rule * Use action * Revert BN254 * Remove utils.sol * Fix partial verify test * small changes * New bn254 (#56) * Revert "Revert BN254" This reverts commit 934d3bb. * Revert "Remove utils.sol" This reverts commit 999ce22. * Added rmp serialization * Better test for deser * Refactor, cleared some code * Formatting * Removed unused circuit_gen * WIP Deserialize URS * WIP URS deserialization * Fixed deser, added test * Added comments' * Implemented pow for base field * Removed unnecesary log * Added FFT * Fix fft * WIP generating basis * Finish iFFT * Finished calculate_lagrange_bases * Implemented inv for field * Refactor xgcd * Fixed lagrange_base nested arrays problem * WIP Iterative FFT * Finished iterative FFT * Fixed circular dependency * Fix out of bounds err * Uncomment test * New pow of two related functions * Fix get_primitive_root_of_unity() * Remove conflict market * Fix makefile * Fix xgcd * Fix inv scalar field * Fix is_pow_of_two() * Fix get_twiddles arr * Fixed last part of calculate_lagrange_basis * Fix flat polycomm --------- Co-authored-by: Pablo Deymonnaz <[email protected]>
- Loading branch information
1 parent
4c13418
commit 2c79349
Showing
6 changed files
with
90 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[submodule "verifier_circuit/o1js"] | ||
path = verifier_circuit/o1js | ||
url = https://github.com/lambdaclass/o1js.git | ||
url = https://github.com/lambdaclass/o1js.git | ||
branch = kzg_prover | ||
[submodule "demo/eth_verifier/lib/forge-std"] | ||
path = demo/eth_verifier/lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
url = https://github.com/foundry-rs/forge-std |
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