diff --git a/CHANGELOG.md b/CHANGELOG.md index ddd24eeccc5..daf239d7127 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (core/02-client) [\#1570](https://github.com/cosmos/ibc-go/pull/1570) Emitting an event when handling an upgrade client proposal. * (app/20-transfer) [\#1680](https://github.com/cosmos/ibc-go/pull/1680) Adds migration to correct any malformed trace path information of tokens with denoms that contains slashes. The transfer module consensus version has been bumped to 2. * (app/20-transfer) [\#1730](https://github.com/cosmos/ibc-go/pull/1730) parse the ics20 denomination provided via a packet using the channel identifier format specified by ibc-go. +* (core/client) [\#1740](https://github.com/cosmos/ibc-go/pull/1740) Add `cosmos_proto.implements_interface` to adhere to guidelines in [Cosmos SDK ADR 019](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-019-protobuf-state-encoding.md#safe-usage-of-any) for annotating `google.protobuf.Any` types ### Features diff --git a/go.mod b/go.mod index bc67125ff41..664ddf06f5a 100644 --- a/go.mod +++ b/go.mod @@ -25,6 +25,8 @@ require ( google.golang.org/protobuf v1.27.1 ) +require github.com/regen-network/cosmos-proto v0.3.1 + require ( filippo.io/edwards25519 v1.0.0-beta.2 // indirect github.com/99designs/keyring v1.1.6 // indirect @@ -93,7 +95,6 @@ require ( github.com/prometheus/common v0.32.1 // indirect github.com/prometheus/procfs v0.7.3 // indirect github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/rs/cors v1.8.2 // indirect github.com/rs/zerolog v1.23.0 // indirect github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect diff --git a/modules/core/02-client/types/client.pb.go b/modules/core/02-client/types/client.pb.go index 1d92ef7c851..46c0447296e 100644 --- a/modules/core/02-client/types/client.pb.go +++ b/modules/core/02-client/types/client.pb.go @@ -9,6 +9,7 @@ import ( types1 "github.com/cosmos/cosmos-sdk/x/upgrade/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + _ "github.com/regen-network/cosmos-proto" io "io" math "math" math_bits "math/bits" @@ -397,52 +398,54 @@ func init() { func init() { proto.RegisterFile("ibc/core/client/v1/client.proto", fileDescriptor_b6bc4c8185546947) } var fileDescriptor_b6bc4c8185546947 = []byte{ - // 710 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x3f, 0x6f, 0xd3, 0x4e, - 0x18, 0x8e, 0xdb, 0xfc, 0xa2, 0xe6, 0x52, 0x35, 0xfd, 0xb9, 0x09, 0x4d, 0x43, 0x15, 0x47, 0x27, - 0x86, 0x0c, 0xd4, 0x26, 0x41, 0x42, 0x55, 0x36, 0x92, 0xa5, 0x1d, 0x40, 0xc1, 0xa8, 0x02, 0xb1, - 0x44, 0xfe, 0x73, 0x75, 0xae, 0x72, 0x7c, 0x91, 0xef, 0x1c, 0xc8, 0x37, 0x60, 0x64, 0x64, 0x60, - 0xe8, 0x27, 0xe0, 0x53, 0x30, 0x74, 0xec, 0xc8, 0x64, 0xa1, 0x76, 0x61, 0xc5, 0x2b, 0x0b, 0xf2, - 0xdd, 0xb9, 0x4d, 0xd2, 0x16, 0x21, 0xd8, 0xee, 0x9e, 0x7b, 0xee, 0x79, 0x9f, 0xe7, 0xb5, 0xdf, - 0x03, 0x1a, 0xb6, 0x1d, 0xc3, 0x21, 0x21, 0x32, 0x1c, 0x1f, 0xa3, 0x80, 0x19, 0xd3, 0xb6, 0x5c, - 0xe9, 0x93, 0x90, 0x30, 0xa2, 0xaa, 0xd8, 0x76, 0xf4, 0x94, 0xa0, 0x4b, 0x78, 0xda, 0xae, 0x57, - 0x3c, 0xe2, 0x11, 0x7e, 0x6c, 0xa4, 0x2b, 0xc1, 0xac, 0xef, 0x78, 0x84, 0x78, 0x3e, 0x32, 0xf8, - 0xce, 0x8e, 0x8e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 0x47, 0x79, 0xfc, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x96, 0x22, - 0x8e, 0x4c, 0xdf, 0x05, 0x00, 0x00, + // 742 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x6f, 0xda, 0x48, + 0x1c, 0xc5, 0x84, 0x45, 0x61, 0x58, 0x85, 0xac, 0x03, 0x1b, 0xc2, 0x46, 0x18, 0x8d, 0xf6, 0x80, + 0x56, 0x1b, 0x7b, 0x61, 0xa5, 0x55, 0xc4, 0x6d, 0xe1, 0x92, 0x1c, 0x76, 0x45, 0x5d, 0x45, 0xad, + 0x7a, 0x41, 0xfe, 0x33, 0x31, 0x13, 0x19, 0x0f, 0xf2, 0x8c, 0x69, 0xf9, 0x06, 0xbd, 0xb5, 0xc7, + 0x56, 0xca, 0x21, 0x9f, 0xa0, 0xa7, 0x7e, 0x84, 0x1e, 0x72, 0x8c, 0x7a, 0xea, 0xc9, 0xaa, 0x92, + 0x4b, 0xcf, 0xfe, 0x04, 0x95, 0x67, 0xc6, 0x09, 0x90, 0xa4, 0xad, 0xda, 0xdb, 0xcc, 0x9b, 0x37, + 0xef, 0xf7, 0x7e, 0x0f, 0xff, 0x18, 0xa0, 0x61, 0xdb, 0x31, 0x1c, 0x12, 0x22, 0xc3, 0xf1, 0x31, + 0x0a, 0x98, 0x31, 0xeb, 0xc8, 0x95, 0x3e, 0x0d, 0x09, 0x23, 0xaa, 0x8a, 0x6d, 0x47, 0x4f, 0x09, + 0xba, 0x84, 0x67, 0x9d, 0x46, 0xd5, 0x23, 0x1e, 0xe1, 0xc7, 0x46, 0xba, 0x12, 0xcc, 0xc6, 0x8e, + 0x47, 0x88, 0xe7, 0x23, 0x83, 0xef, 0xec, 0xe8, 0xd8, 0xb0, 0x82, 0xb9, 0x3c, 0xfa, 0xdd, 0x21, + 0x74, 0x42, 0xa8, 0x11, 0x4d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81, 0xfc, 0x70, 0x39, 0x5f, 0x3d, 0x01, 0x35, 0xc9, 0x71, 0x47, 0x4b, 0x83, 0x56, + 0xf8, 0xc2, 0xc7, 0xdb, 0x4a, 0x62, 0x6d, 0x57, 0x24, 0x72, 0xe7, 0x65, 0x68, 0x6e, 0x65, 0xf8, + 0xc2, 0xf8, 0xf7, 0xfe, 0x48, 0x33, 0x79, 0x75, 0xa6, 0xe5, 0x3e, 0x9d, 0x69, 0xca, 0x57, 0xb2, + 0x39, 0x55, 0x40, 0x51, 0xce, 0xe4, 0x00, 0x54, 0x42, 0x34, 0xc3, 0x14, 0x93, 0x60, 0x14, 0x44, + 0x13, 0x1b, 0x85, 0x3c, 0x9c, 0x42, 0xbf, 0x91, 0xc4, 0xda, 0xaf, 0xc2, 0xc6, 0x0a, 0x01, 0x9a, + 0x1b, 0x19, 0xf2, 0x3f, 0x07, 0x96, 0x44, 0xe4, 0x84, 0xe7, 0xef, 0x15, 0x11, 0x84, 0x05, 0x11, + 0xe1, 0xa4, 0xb7, 0x9e, 0x35, 0x00, 0xff, 0x03, 0xc5, 0xa1, 0x15, 0x5a, 0x13, 0x9a, 0x0a, 0x5b, + 0xbe, 0x4f, 0x9e, 0x5e, 0x47, 0x40, 0xeb, 0x4a, 0x6b, 0xad, 0x5d, 0x5a, 0x14, 0x5e, 0x21, 0x40, + 0x73, 0x43, 0x22, 0x22, 0x1d, 0xda, 0x37, 0xcf, 0x2f, 0x9b, 0xca, 0xc5, 0x65, 0x53, 0xf9, 0x78, + 0xd9, 0x54, 0x5e, 0x5e, 0x35, 0x73, 0x17, 0x57, 0xcd, 0xdc, 0x87, 0xab, 0x66, 0xee, 0xc9, 0xbe, + 0x87, 0xd9, 0x38, 0xb2, 0x75, 0x87, 0x4c, 0xe4, 0xbf, 0xac, 0x81, 0x6d, 0x67, 0xcf, 0x23, 0xc6, + 0xac, 0x6b, 0x4c, 0x88, 0x1b, 0xf9, 0x88, 0x8a, 0x37, 0xe1, 0xaf, 0xee, 0x9e, 0x7c, 0x16, 0xd8, + 0x7c, 0x8a, 0xa8, 0x5d, 0xe4, 0x3f, 0xd9, 0xdf, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x14, 0xd9, + 0xa0, 0x34, 0x36, 0x06, 0x00, 0x00, } func (this *UpgradeProposal) Equal(that interface{}) bool { diff --git a/proto/ibc/core/client/v1/client.proto b/proto/ibc/core/client/v1/client.proto index 07337702017..2f554759cb3 100644 --- a/proto/ibc/core/client/v1/client.proto +++ b/proto/ibc/core/client/v1/client.proto @@ -7,6 +7,7 @@ option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; +import "cosmos_proto/cosmos.proto"; // IdentifiedClientState defines a client state with an additional client // identifier field. @@ -41,7 +42,8 @@ message ClientConsensusStates { // handler may fail if the subject and the substitute do not match in client and // chain parameters (with exception to latest height, frozen height, and chain-id). message ClientUpdateProposal { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; // the title of the update proposal string title = 1; // the description of the proposal @@ -56,9 +58,10 @@ message ClientUpdateProposal { // UpgradeProposal is a gov Content type for initiating an IBC breaking // upgrade. message UpgradeProposal { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = true; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = true; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; string title = 1; string description = 2; diff --git a/third_party/proto/cosmos_proto/cosmos.proto b/third_party/proto/cosmos_proto/cosmos.proto new file mode 100644 index 00000000000..5aa7e0a1a31 --- /dev/null +++ b/third_party/proto/cosmos_proto/cosmos.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package cosmos_proto; + +import "google/protobuf/descriptor.proto"; + +option go_package = "github.com/regen-network/cosmos-proto"; + +extend google.protobuf.MessageOptions { + string interface_type = 93001; + + string implements_interface = 93002; +} + +extend google.protobuf.FieldOptions { + string accepts_interface = 93001; +} \ No newline at end of file