Alpha: change encoding of Tez from int64 to Zarith n
This commit is contained in:
parent
6f4060011d
commit
259c97bc9c
@ -223,7 +223,7 @@ module Make (T: QTY) : S = struct
|
||||
|
||||
let encoding =
|
||||
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 open Data_encoding in
|
||||
|
Loading…
Reference in New Issue
Block a user