16 Commits

Author SHA1 Message Date
Uma Roy
07cf7bd857 Upgraded dependencies 2023-10-10 22:15:01 -07:00
Kevin Jue
7bd0035e65
range check inputted plonky2 proof (#29)
* gl

* stage 1 optimizations

* working optimized poseidon

* Fix posedion tests

* in progress gate type refactor

* working gates

* working e2e

* hm'

* hm2

* debug saga continues

* more debugging cry

* more debug

* it finally works

* optimizations

* more optimizations

* new changes

* more optimizations

* more cleanup

* some refactoring

* new files

* flattening of packages

* working commit

* more refactor

* more flattening

* more flattening

* more more refactor

* more optimizations

* more optimizations

* more optimizations

* plonk benchmark

* plonk

* fix r1cs

* resolve kevin's comments

* Update goldilocks/base.go

Co-authored-by: Kevin Jue <kjue235@gmail.com>

* Update goldilocks/base.go

Co-authored-by: Kevin Jue <kjue235@gmail.com>

* Update goldilocks/base.go

Co-authored-by: Kevin Jue <kjue235@gmail.com>

* Update goldilocks/quadratic_extension.go

Co-authored-by: Kevin Jue <kjue235@gmail.com>

* added range check for the inputted proof

* removed the go.mod replace directive

* removed some hacky code

* removed duplicate import

* renamed rangecheckQEVariable to rangecheckQE

* resolved conflict

---------

Co-authored-by: John Guibas <john@succinct.xyz>
2023-07-24 16:18:37 -07:00
John Guibas
37984c52c7 Fix go mod dependencies + goldilocks fixes 2023-06-20 16:03:41 -07:00
Kevin Jue
9ce7bb7dbb
Step test case with public inputs (#23)
* added step test case

* export solidity code

* just set proof's public input as public variables

* make serialization a command line option

* added flag to output solidity

* some changes to the benchmark file

* used gnark cherry picked bug fix

* removed fuzz testing

* added some logging

* more debug messages and test cases for the hint issue

* removed usage of goldilocks reduce

* removed prints

* removed GoldilocksReduce

* removed prints

* added a todo

* some serialization changes
2023-06-17 19:44:20 -07:00
Kevin Jue
302b5f5bf1
Upgrade to gnark 0.8 (#18)
* make proof with PIS public input

* upgraded to 0.8 gnark

* reduced pow witness

* fixed bug

* fixed test

* fixed bug

* adding profiling

* changed everything to be pointers

* convert remaining poseidon constants

* added the recursive_very_small

* added more outputs for benchmark
2023-05-25 07:39:06 -07:00
Kevin Jue
cf84b032e2
Rearranged files (#17)
* removed unused file

* change field import

* change import of field package

* changed field import

* moved hash to poseidon and some changes to the field package

* changed file structure
2023-05-19 19:49:14 -07:00
John Guibas
6e9f1a7c50 Cleanup repo for release 2023-03-28 10:59:36 -07:00
Kevin Jue
4498f175f1 added verifier_test 2022-11-22 16:50:43 -08:00
Kevin Jue
bd5245de4a removed module 2022-11-17 17:36:58 -08:00
Kevin Jue
e895ec45f6 added go module 2022-11-17 17:35:18 -08:00
Kevin Jue
460709f65d got merkle proof traversal working 2022-11-08 17:54:01 -08:00
Kevin Jue
ef02b447e6 got plonk.evalVanishingPoly working 2022-10-31 19:51:51 -07:00
Jacob Jackson
1bdc34424c basic edwards curve code 2022-10-03 19:17:42 +00:00
puma314
1f850e7ae1 Added 2022-10-03 09:34:47 -07:00
Jacob Jackson
b5812e951c switch to gnark develop branch 2022-10-02 22:59:52 +00:00
Jacob Jackson
96cd66d351 initial example working 2022-10-02 22:27:18 +00:00