workign deserialization of proof

This commit is contained in:
jtguibas
2022-10-10 18:43:56 -07:00
parent 831eb8bf9f
commit fccd386e06
7 changed files with 273 additions and 13 deletions

View File

@@ -25,8 +25,8 @@ func (circuit *TestPoseidonCircuit) Define(api frontend.API) error {
input[i] = goldilocksApi.FromBinary(api.ToBinary(circuit.In[i], 64)).(F)
}
chip := NewPoseidonChip(api, goldilocksApi)
output := chip.Poseidon(input)
poseidonChip := NewPoseidonChip(api, goldilocksApi)
output := poseidonChip.Poseidon(input)
for i := 0; i < 12; i++ {
goldilocksApi.AssertIsEqual(