Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IVCProof to the existing folding schemes (Nova,HyperNova,ProtoGalaxy) #167

Merged
merged 7 commits into from
Oct 11, 2024

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    8130ab8 View commit details
    Browse the repository at this point in the history
  2. Implement from_ivc_proof for the FoldingSchemes trait (and Nova,

    HyperNova, ProtoGalaxy), so that the FoldingScheme IVC's instance can be
    constructed from the given parameters and the last IVCProof, which
    allows to sent the IVCProof between different parties, so that they can
    continue iterating the IVC from the received IVCProof.  Also the
    serializers allow for the IVCProof to be sent to a verifier that can
    deserialize it and verify it.
    
    This allows to remove the logic from the file
    [folding/nova/serialize.rs](https://github.com/privacy-scaling-explorations/sonobe/blob/f1d82418ba047cf90805f2d0505370246df24d68/folding-schemes/src/folding/nova/serialize.rs)
    and
    [folding/hypernova/serialize.rs](https://github.com/privacy-scaling-explorations/sonobe/blob/f1d82418ba047cf90805f2d0505370246df24d68/folding-schemes/src/folding/hypernova/serialize.rs)
    (removing the whole files), which is now covered by the `IVCProof`
    generated serializers (generated by macro instead of handwritten), and
    the test that the file contained is now abstracted and applied to all
    the 3 existing folding schemes (Nova, HyperNova, ProtoGalaxy) at the
    folding/mod.rs file.
    arnaucube committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    99fdf04 View commit details
    Browse the repository at this point in the history
  3. update Nova VerifierParams serializers to avoid serializing the R1CS …

    …to save big part of the old serialized size
    arnaucube committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3402391 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    576e2ae View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. add nova params serialization to nova's ivc test to ensure that IVC v…

    …erification works with deserialized data
    arnaucube committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9b36898 View commit details
    Browse the repository at this point in the history
  2. Add unified FS::ProverParam & VerifierParam serialization & deseriali…

    …zation (for all Nova, HyperNova and ProtoGalaxy), without serializing the R1CS/CCS and thus saving substantial serialized bytes space.
    arnaucube committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0903e24 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    f0f90b0 View commit details
    Browse the repository at this point in the history