Skip to content

Commit

Permalink
Merge pull request #16374 from MinaProtocol/feature/snarky-specialize…
Browse files Browse the repository at this point in the history
…d-typ

Differentiate snarky `Typ.t`s between instances
  • Loading branch information
mrmr1993 authored Nov 21, 2024
2 parents 889607b + bbad585 commit 9dbaa6d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/lib/pickles/step_verifier.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ module Make
(Inputs : Intf.Step_main_inputs.S
with type Impl.field = Backend.Tick.Field.t
and type Impl.Bigint.t = Backend.Tick.Bigint.t
and type ('var, 'value, 'aux, 'field, 'checked) Impl.Typ.typ' =
( 'var
, 'value
, 'aux
, 'field
, 'checked )
Step_main_inputs.Impl.Typ.typ'
and type ('var, 'value, 'field, 'checked) Impl.Typ.typ =
('var, 'value, 'field, 'checked) Step_main_inputs.Impl.Typ.typ
and type Inner_curve.Constant.Scalar.t = Backend.Tock.Field.t) =
struct
open Inputs
Expand Down
9 changes: 9 additions & 0 deletions src/lib/pickles/wrap_verifier.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ module Make
(Inputs : Intf.Wrap_main_inputs.S
with type Impl.field = Backend.Tock.Field.t
and type Impl.Bigint.t = Backend.Tock.Bigint.t
and type ('var, 'value, 'aux, 'field, 'checked) Impl.Typ.typ' =
( 'var
, 'value
, 'aux
, 'field
, 'checked )
Wrap_main_inputs.Impl.Typ.typ'
and type ('var, 'value, 'field, 'checked) Impl.Typ.typ =
('var, 'value, 'field, 'checked) Wrap_main_inputs.Impl.Typ.typ
and type Inner_curve.Constant.Scalar.t = Backend.Tick.Field.t) =
struct
open Inputs
Expand Down
2 changes: 1 addition & 1 deletion src/lib/snarky

0 comments on commit 9dbaa6d

Please sign in to comment.