o1-labs / snarky

OCaml DSL for verifiable computation
MIT License
492 stars 73 forks source link

[part4] Changes to snarky to make snarky-rs integration work #799

Closed mimoo closed 1 year ago

mimoo commented 1 year ago

Builds on top of https://github.com/o1-labs/snarky/pull/798

This contains a number of misc changes that I need to make in order to make the Mina-side work (https://github.com/MinaProtocol/mina/pull/12738). It contains:

the wrapper state has moved anything that's not relevant to Rust to its own fields:

  type t =
    { state : Run_state.t
    ; stack : string list
    ; handler : Request.Handler.t
    ; is_running : bool
    ; log_constraint :
        (   ?at_label_boundary:[ `Start | `End ] * string
         -> (Cvar.t, Field.t) Constraint.t option
         -> unit )
        option
    }
github-actions[bot] commented 1 year ago

Stale pull request message