From a42229a465fd6f8f3f4fc14dcb4a5285ba1c4b84 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com> Date: Mon, 26 Jun 2023 11:01:06 -0700 Subject: [PATCH] comment --- proto/interchain_security/ccv/v1/ccv.proto | 4 +--- x/ccv/types/ccv.pb.go | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/proto/interchain_security/ccv/v1/ccv.proto b/proto/interchain_security/ccv/v1/ccv.proto index 1f22381f0a..f6845e6905 100644 --- a/proto/interchain_security/ccv/v1/ccv.proto +++ b/proto/interchain_security/ccv/v1/ccv.proto @@ -68,10 +68,8 @@ message ConsumerPacketData { } -// [Depreciated] favor using []ConsumerPacketData directly, which can be stored more efficiently. -// // ConsumerPacketDataList is a list of consumer packet data packets. -// It is only used for genesis to ensure backwards compatibility with older versions of ICS. +// NOTE: It is only used for exporting / importing state in InitGenesis and ExportGenesis. message ConsumerPacketDataList { repeated ConsumerPacketData list = 1 [ (gogoproto.nullable) = false ]; } diff --git a/x/ccv/types/ccv.pb.go b/x/ccv/types/ccv.pb.go index 503205692f..d3b18369b8 100644 --- a/x/ccv/types/ccv.pb.go +++ b/x/ccv/types/ccv.pb.go @@ -429,10 +429,8 @@ func (*ConsumerPacketData) XXX_OneofWrappers() []interface{} { } } -// [Depreciated] favor using []ConsumerPacketData directly, which can be stored more efficiently. -// // ConsumerPacketDataList is a list of consumer packet data packets. -// It is only used for genesis to ensure backwards compatibility with older versions of ICS. +// NOTE: It is only used for exporting / importing state in InitGenesis and ExportGenesis. type ConsumerPacketDataList struct { List []ConsumerPacketData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` }