From b9ef56f7b6302d7cc3a2e0b045c4e247bd2566bd Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Sun, 18 Jun 2023 22:59:51 +0200 Subject: [PATCH] chore: add deprecated option to MsgSubmitMisbehaviour --- modules/core/02-client/types/tx.pb.go | 96 ++++++++++++++------------- proto/ibc/core/client/v1/tx.proto | 9 +-- 2 files changed, 54 insertions(+), 51 deletions(-) diff --git a/modules/core/02-client/types/tx.pb.go b/modules/core/02-client/types/tx.pb.go index 93658401e3b..76a8cb9721a 100644 --- a/modules/core/02-client/types/tx.pb.go +++ b/modules/core/02-client/types/tx.pb.go @@ -282,14 +282,16 @@ var xxx_messageInfo_MsgUpgradeClientResponse proto.InternalMessageInfo // MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for // light client misbehaviour. -// Warning: DEPRECATED +// This message has been deprecated. Use MsgUpdateClient instead. +// +// Deprecated: Do not use. type MsgSubmitMisbehaviour struct { // client unique identifier - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Deprecated: Do not use. + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // misbehaviour used for freezing the light client - Misbehaviour *types.Any `protobuf:"bytes,2,opt,name=misbehaviour,proto3" json:"misbehaviour,omitempty"` // Deprecated: Do not use. + Misbehaviour *types.Any `protobuf:"bytes,2,opt,name=misbehaviour,proto3" json:"misbehaviour,omitempty"` // signer address - Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` // Deprecated: Do not use. + Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` } func (m *MsgSubmitMisbehaviour) Reset() { *m = MsgSubmitMisbehaviour{} } @@ -473,49 +475,49 @@ func init() { func init() { proto.RegisterFile("ibc/core/client/v1/tx.proto", fileDescriptor_cb5dc4651eb49a04) } var fileDescriptor_cb5dc4651eb49a04 = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xbf, 0x53, 0xd4, 0x40, - 0x14, 0xc7, 0x93, 0x03, 0x6e, 0xbc, 0xe5, 0x00, 0x67, 0x45, 0x39, 0x82, 0x24, 0x0c, 0x5a, 0x20, - 0x4a, 0x02, 0x58, 0xc0, 0xa0, 0x16, 0x40, 0x65, 0x71, 0x33, 0x4e, 0x18, 0x1b, 0x1b, 0x4c, 0x72, - 0xcb, 0x92, 0x19, 0x92, 0xcd, 0x64, 0x93, 0x1b, 0xaf, 0x73, 0xac, 0x2c, 0xb5, 0xb3, 0xa4, 0xb3, - 0xa5, 0xf2, 0x6f, 0xc0, 0x8e, 0xd2, 0xca, 0x71, 0xee, 0x0a, 0xfc, 0x33, 0x9c, 0xec, 0xee, 0xe5, - 0x92, 0xdc, 0x0f, 0x4e, 0xed, 0x92, 0x7d, 0x9f, 0xb7, 0xdf, 0xef, 0x7b, 0x79, 0x9b, 0x05, 0x4b, - 0xae, 0xed, 0x18, 0x0e, 0x09, 0x91, 0xe1, 0x9c, 0xb9, 0xc8, 0x8f, 0x8c, 0xe6, 0x96, 0x11, 0xbd, - 0xd3, 0x83, 0x90, 0x44, 0x04, 0x42, 0xd7, 0x76, 0xf4, 0x24, 0xa8, 0xf3, 0xa0, 0xde, 0xdc, 0x52, - 0x16, 0x1c, 0x42, 0x3d, 0x42, 0x0d, 0x8f, 0xe2, 0x84, 0xf5, 0x28, 0xe6, 0xb0, 0x32, 0x8f, 0x09, - 0x26, 0xec, 0xd1, 0x48, 0x9e, 0xc4, 0xea, 0x22, 0x26, 0x04, 0x9f, 0x21, 0x83, 0xbd, 0xd9, 0xf1, - 0x89, 0x61, 0xf9, 0x2d, 0x11, 0xd2, 0x06, 0x48, 0x0b, 0x1d, 0x06, 0xac, 0x7e, 0x93, 0xc1, 0x5c, - 0x9d, 0xe2, 0xc3, 0x10, 0x59, 0x11, 0x3a, 0x64, 0x11, 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79, 0x32, 0x0e, 0x95, 0x8a, 0x84, 0x00, 0x0e, 0x98, 0xc6, 0x47, 0x43, 0xf6, 0xe8, - 0x47, 0x95, 0xad, 0xb1, 0xd1, 0x54, 0xf3, 0x04, 0xc0, 0x6c, 0xc1, 0x62, 0x7a, 0x46, 0x37, 0x90, - 0x43, 0x37, 0x34, 0x30, 0x3f, 0x0c, 0xca, 0xd4, 0xfb, 0xeb, 0x8b, 0x75, 0xf9, 0xc0, 0xbc, 0x6c, - 0xab, 0xf2, 0x55, 0x5b, 0x95, 0x7f, 0xb5, 0x55, 0xf9, 0x53, 0x47, 0x95, 0xae, 0x3a, 0xaa, 0xf4, - 0xa3, 0xa3, 0x4a, 0x6f, 0x76, 0xb1, 0x1b, 0x9d, 0xc6, 0xb6, 0xee, 0x10, 0xcf, 0x10, 0xd7, 0x9e, - 0x6b, 0x3b, 0x1b, 0x98, 0x18, 0xcd, 0x1d, 0xc3, 0x23, 0x8d, 0xf8, 0x0c, 0x51, 0x7e, 0x83, 0x6d, - 0x6e, 0x6f, 0x88, 0x4b, 0x2c, 0x6a, 0x05, 0x88, 0xda, 0x65, 0x76, 0xde, 0x9e, 0xfe, 0x09, 0x00, - 0x00, 0xff, 0xff, 0xe6, 0x7c, 0xe1, 0x7d, 0x5f, 0x07, 0x00, 0x00, + // 660 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xed, 0xfe, 0x88, 0xc8, 0x35, 0x6d, 0xd1, 0xd1, 0xd2, 0xd4, 0xa5, 0x4e, 0x15, 0x18, + 0x4a, 0xa1, 0x76, 0x5b, 0x86, 0x56, 0x45, 0x0c, 0x6d, 0x27, 0x86, 0x48, 0xc8, 0x15, 0x0b, 0x4b, + 0xb1, 0x9d, 0xcb, 0xc5, 0x52, 0xec, 0xb3, 0x7c, 0x76, 0x44, 0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90, 0x85, 0x37, 0x07, 0xd8, 0xf2, + 0xdb, 0x81, 0xa1, 0x98, 0xc4, 0x56, 0xf9, 0x65, 0x67, 0x19, 0xe6, 0x36, 0x26, 0x6a, 0x77, 0x5f, + 0xb5, 0x49, 0x33, 0xe8, 0x20, 0xca, 0xee, 0xad, 0x9d, 0xbd, 0x6d, 0x7e, 0x75, 0xf9, 0x3d, 0x17, + 0x51, 0xa3, 0x14, 0x9d, 0xb4, 0x67, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x44, 0x4f, 0xa6, 0x1c, + 0x55, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/ibc/core/client/v1/tx.proto b/proto/ibc/core/client/v1/tx.proto index ad0622518e2..7d37fd590d3 100644 --- a/proto/ibc/core/client/v1/tx.proto +++ b/proto/ibc/core/client/v1/tx.proto @@ -95,19 +95,20 @@ message MsgUpgradeClientResponse {} // MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for // light client misbehaviour. -// Warning: DEPRECATED +// This message has been deprecated. Use MsgUpdateClient instead. message MsgSubmitMisbehaviour { + option deprecated = true; option (cosmos.msg.v1.signer) = "signer"; option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // client unique identifier - string client_id = 1 [deprecated = true]; + string client_id = 1; // misbehaviour used for freezing the light client - google.protobuf.Any misbehaviour = 2 [deprecated = true]; + google.protobuf.Any misbehaviour = 2; // signer address - string signer = 3 [deprecated = true]; + string signer = 3; } // MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response