9 Commits

Author SHA1 Message Date
Kevin Jue
867b3abd7c
serialize proof and witness (#27) 2023-06-22 14:59:15 -07:00
Kevin Jue
71cfa20fcb
output proof (#24) 2023-06-19 08:27:19 -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
ecfc4a7b2b added serialization support for benchmark.go 2023-06-07 11:33:18 -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
Kevin Jue
11f5ee28c6
Circuit modifications for recent Plonky2 changes (#5)
* pretty print fibonacci data files

* added in new dummy proof serialized data

* updated powresponse calculation in the challenger chip

* changes to reflect these plonky2 changes:  40aecc8e95

* modified benchmark to accept circuit name
2023-05-11 15:31:32 -07:00
Nicholas Ward
f1dc02d30f Poseidon extension function versions, and finished PoseidonGate 2023-04-06 11:15:07 -07:00
John Guibas
b053926793 Add benchmark script 2023-03-28 10:59:47 -07:00