Skip to content

Commit 78f8148

Browse files
committed
Remove Transaction.Valid.Stable
1 parent 83b9bdc commit 78f8148

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

src/lib/transaction/transaction.ml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,14 @@ module Poly = struct
2626
end
2727

2828
module Valid = struct
29-
[%%versioned
30-
module Stable = struct
31-
module V2 = struct
32-
type t = User_command.Valid.Stable.V2.t Poly.Stable.V2.t
33-
[@@deriving sexp, compare, equal, hash, yojson]
34-
35-
let to_latest = Fn.id
36-
end
37-
end]
29+
module T = struct
30+
type t = User_command.Valid.t Poly.t
31+
[@@deriving sexp, compare, equal, hash, yojson]
32+
end
3833

39-
include Hashable.Make (Stable.Latest)
40-
include Comparable.Make (Stable.Latest)
34+
include T
35+
include Hashable.Make (T)
36+
include Comparable.Make (T)
4137
end
4238

4339
[%%versioned

0 commit comments

Comments
 (0)