From 6bb62d621d9399b7746d24e10cb03185e315935a Mon Sep 17 00:00:00 2001 From: Valentin Chaboche Date: Wed, 14 Sep 2022 14:44:11 +0200 Subject: [PATCH] Scoru,Proto: do not use tag "kind" in [Sc_rollup_originate] encoding The operation's encoding already use the tag "kind" for the operation name. So before this commit, the tag is duplicated for the operation name and the pvm name. --- src/proto_alpha/lib_protocol/operation_repr.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_alpha/lib_protocol/operation_repr.ml b/src/proto_alpha/lib_protocol/operation_repr.ml index 020ffe01b888..50a9d86e20fe 100644 --- a/src/proto_alpha/lib_protocol/operation_repr.ml +++ b/src/proto_alpha/lib_protocol/operation_repr.ml @@ -1091,7 +1091,7 @@ module Encoding = struct name = "sc_rollup_originate"; encoding = obj4 - (req "kind" Sc_rollups.Kind.encoding) + (req "pvm_kind" Sc_rollups.Kind.encoding) (req "boot_sector" string_to_bytes_encoding) (req "origination_proof" string_to_bytes_encoding) (req "parameters_ty" Script_repr.lazy_expr_encoding); -- GitLab