Skip to content

Commit

Permalink
upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirhemo committed Aug 28, 2023
1 parent a9fd78a commit e0488a4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plonky2x-verifier/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ func Compile(dummyCircuitPath string) (constraint.ConstraintSystem, groth16.Prov
}

func Save(path string, r1cs constraint.ConstraintSystem, pk groth16.ProvingKey, vk groth16.VerifyingKey) {
fmt.Println("Saving proving key to", path+"/pk.bin")
pk.Write(path + "/pk.bin")
fmt.Println("Saving verifying key to", path+"/vk.bin")
vk.Write(path + "/vk.bin")
// fmt.Println("Saving proving key to", path+"/pk.bin")
// pk.Write(path + "/pk.bin")
// fmt.Println("Saving verifying key to", path+"/vk.bin")
// vk.Write(path + "/vk.bin")
//
}

0 comments on commit e0488a4

Please sign in to comment.