Alpha: change encoding of Tez from int64 to Zarith n

This commit is contained in:
Marco Stronati 2018-06-24 01:05:45 +02:00
parent 6f4060011d
commit 259c97bc9c

View File

@ -223,7 +223,7 @@ module Make (T: QTY) : S = struct
let encoding = let encoding =
let open Data_encoding in let open Data_encoding in
(conv to_int64 (Json.wrap_error of_mutez_exn) int64) (check_size 10 (conv Z.of_int64 (Json.wrap_error Z.to_int64) n))
let () = let () =
let open Data_encoding in let open Data_encoding in