From 6f4060011d51ae72876043a88fac3b8363fc81e8 Mon Sep 17 00:00:00 2001 From: Marco Stronati Date: Sun, 24 Jun 2018 00:23:39 +0200 Subject: [PATCH] Alpha: counter, gas_limit and storage_limit encoded with n --- src/proto_alpha/lib_protocol/src/operation_repr.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proto_alpha/lib_protocol/src/operation_repr.ml b/src/proto_alpha/lib_protocol/src/operation_repr.ml index 9ed1d08ab..f9bdde259 100644 --- a/src/proto_alpha/lib_protocol/src/operation_repr.ml +++ b/src/proto_alpha/lib_protocol/src/operation_repr.ml @@ -468,9 +468,9 @@ module Encoding = struct (obj5 (req "source" Contract_repr.encoding) (req "fee" Tez_repr.encoding) - (req "counter" (check_size 10 z)) - (req "gas_limit" (check_size 10 z)) - (req "storage_limit" (check_size 10 z))) + (req "counter" (check_size 10 n)) + (req "gas_limit" (check_size 10 n)) + (req "storage_limit" (check_size 10 n))) let extract (type kind)