privacy-scaling-explorations / sonobe

Experimental folding schemes library
https://privacy-scaling-explorations.github.io/sonobe-docs/
MIT License
204 stars 53 forks source link

feat/hypernova serialization #159

Closed dmpierre closed 2 months ago

dmpierre commented 2 months ago

Implements serde for hypernova prover and verifier params, proof and public inputs. Serding the ccs could make serialization costs increase quickly, so I did not implement the CanonicalDeserialize trait for Hypernova, ProverParams and VerifierParams.

For testing, I followed the same logic as what is being done in test_decider_serialization for nova. Testing is done here.