mirror of
https://github.com/logos-storage/gnark-plonky2-verifier.git
synced 2026-01-09 08:33:11 +00:00
* initial commit of poseidon bn128 * got challenger working * deserialize is working * cleaned up deserialization function a bit * fixed challenger * add in the hack to the challenges * fixed some bugs in poseidon_bn128 * fri verification is working * some changes for benchmarking * added decode_block plonky2 data * initial commit for poseidon_mds_gate * updated gate test cases * working poseidon mds gate * full verifier test case working
25 lines
744 B
Go
25 lines
744 B
Go
package utils
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestDeserializeProofWithPublicInputs(t *testing.T) {
|
|
proofWithPis := DeserializeProofWithPublicInputs("../data/decode_block/proof_with_public_inputs.json")
|
|
fmt.Printf("%+v\n", proofWithPis)
|
|
panic("look at stdout")
|
|
}
|
|
|
|
func TestDeserializeCommonCircuitData(t *testing.T) {
|
|
commonCircuitData := DeserializeCommonCircuitData("../data/decode_block/common_circuit_data.json")
|
|
fmt.Printf("%+v\n", commonCircuitData)
|
|
panic("look at stdout")
|
|
}
|
|
|
|
func TestDeserializeVerifierOnlyCircuitData(t *testing.T) {
|
|
verifierOnlyCircuitData := DeserializeVerifierOnlyCircuitData("../data/decode_block/verifier_only_circuit_data.json")
|
|
fmt.Printf("%+v\n", verifierOnlyCircuitData)
|
|
panic("look at stdout")
|
|
}
|