mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 00:51:33 +01:00
update circuit proof to be private witness & commoncircuitdata constant
This commit is contained in:
6
go.mod
6
go.mod
@@ -1,10 +1,10 @@
|
||||
module github.com/succinctlabs/gnark-plonky2-verifier
|
||||
|
||||
go 1.20
|
||||
go 1.24.4
|
||||
|
||||
require (
|
||||
github.com/consensys/gnark v0.9.1
|
||||
github.com/consensys/gnark-crypto v0.12.2-0.20231013160410-1f65e75b6dfb
|
||||
github.com/consensys/gnark v0.13.0
|
||||
github.com/consensys/gnark-crypto v0.18.0
|
||||
github.com/consensys/gnark-ignition-verifier v0.0.0-20230527014722-10693546ab33
|
||||
)
|
||||
|
||||
|
||||
@@ -9,11 +9,9 @@ import (
|
||||
|
||||
type ExampleVerifierCircuit struct {
|
||||
PublicInputs []gl.Variable `gnark:",public"`
|
||||
Proof variables.Proof `gnark:"-"`
|
||||
VerifierOnlyCircuitData variables.VerifierOnlyCircuitData `gnark:"-"`
|
||||
|
||||
// This is configuration for the circuit, it is a constant not a variable
|
||||
CommonCircuitData types.CommonCircuitData
|
||||
Proof variables.Proof `gnark:",secret"`
|
||||
VerifierOnlyCircuitData variables.VerifierOnlyCircuitData `gnark:",secret"`
|
||||
CommonCircuitData types.CommonCircuitData `gnark:",-"`
|
||||
}
|
||||
|
||||
func (c *ExampleVerifierCircuit) Define(api frontend.API) error {
|
||||
|
||||
Reference in New Issue
Block a user