mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-09 23:51:33 +01:00
main
add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678)
update goldilocks generators to the plonky2's updated ones at plonky2's PR#1579 (https://github.com/0xPolygonZero/plonky2/pull/1579)
add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678)
add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678)
Gnark Plonky2 Verifier
This is an implementation of a Plonky2 verifier in Gnark (supports Groth16 and PLONK).
Besides the verifier, there are some Gnark implementation of circuits in this repo that may be useful for other projects:
Requirements
Benchmark
To run the benchmark,
go run benchmark.go
Profiling
First run the benchmark with profiling turned on
go run benchmark.go -profile
Then use the following command to generate a visualization of the pprof
go tool pprof --png gnark.pprof > verifier.png
Languages
Go
100%