Skip to content

Commit

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

Simplify snarky `Typ.t`, removing unnecessary type parameters
  • Loading branch information
mrmr1993 authored Dec 29, 2024
2 parents 390fb30 + bc75f95 commit 4c5c342
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
12 changes: 5 additions & 7 deletions src/lib/pickles/step_verifier.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ 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' =
and type ('var, 'value, 'aux) Impl.Internal_Basic.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
, 'aux )
Step_main_inputs.Impl.Internal_Basic.Typ.typ'
and type ('var, 'value) Impl.Internal_Basic.Typ.typ =
('var, 'value) Step_main_inputs.Impl.Internal_Basic.Typ.typ
and type Inner_curve.Constant.Scalar.t = Backend.Tock.Field.t) =
struct
open Inputs
Expand Down
12 changes: 5 additions & 7 deletions src/lib/pickles/wrap_verifier.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ 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' =
and type ('var, 'value, 'aux) Impl.Internal_Basic.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
, 'aux )
Wrap_main_inputs.Impl.Internal_Basic.Typ.typ'
and type ('var, 'value) Impl.Internal_Basic.Typ.typ =
('var, 'value) Wrap_main_inputs.Impl.Internal_Basic.Typ.typ
and type Inner_curve.Constant.Scalar.t = Backend.Tick.Field.t) =
struct
open Inputs
Expand Down

0 comments on commit 4c5c342

Please sign in to comment.