Skip to content

investigate non-deterministic serialized pk/vk #1062

@hero78119

Description

@hero78119

To reproduces:

  1. cargo ceno keygen --out-vk vk.bin
  2. cargo ceno keygen --out-vk vk2.bin

=> vk.bin & vk2.bin are a bit different on the file size

background

It was found from #1054

  • serialized more meta info into vk to carry over information from keygen
    -> e.g. field = babybear/goldilocks, public io size, ...
  • skip pk/vk generation in prove phase
  • fixed expression serialization to be canonical

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions