Skip to content

Commit 30d110e

Browse files
authored
Merge pull request #16751 from MinaProtocol/georgeee/remove-user_command-valid-stable-2
Remove User_command.Valid.Stable
2 parents e6d63bd + a1b052a commit 30d110e

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

src/lib/mina_base/user_command.ml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -294,18 +294,8 @@ let valid_until (t : t) =
294294
module Valid = struct
295295
type t_ = t
296296

297-
[%%versioned
298-
module Stable = struct
299-
module V2 = struct
300-
type t =
301-
( Signed_command.With_valid_signature.Stable.V2.t
302-
, Zkapp_command.Valid.Stable.V1.t )
303-
Poly.Stable.V2.t
304-
[@@deriving sexp, compare, equal, hash, yojson]
305-
306-
let to_latest = Fn.id
307-
end
308-
end]
297+
type t = (Signed_command.With_valid_signature.t, Zkapp_command.Valid.t) Poly.t
298+
[@@deriving sexp, compare, equal, hash, yojson]
309299

310300
module Gen = Gen_make (Signed_command.With_valid_signature)
311301
end

src/lib/mina_wire_types/test/type_equalities.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ module Mina_base = struct
251251
include Assert_equal0V1 (O.Zkapp_command.Stable) (W.Zkapp_command)
252252
include Assert_equal0V1 (O.Zkapp_command.Valid.Stable) (W.Zkapp_command.Valid)
253253
include Assert_equal0V2 (O.User_command.Stable) (W.User_command)
254-
include Assert_equal0V2 (O.User_command.Valid.Stable) (W.User_command.Valid)
255254
include
256255
Assert_equal0V1
257256
(O.Pending_coinbase.State_stack.Stable)

0 commit comments

Comments
 (0)