Skip to content

Commit aedc0c8

Browse files
authored
fix: add missing signers in proto message (#2095)
* add missing signers in msgs * add changelog entries * nit
1 parent 7b419f1 commit aedc0c8

File tree

4 files changed

+163
-108
lines changed

4 files changed

+163
-108
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Fix incorrect message defitions in the proto files of the provider module
2+
([\#2095](https://github.com/cosmos/interchain-security/pull/2095))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Fix incorrect message defitions in the proto files of the provider module
2+
([\#2095](https://github.com/cosmos/interchain-security/pull/2095))

Diff for: proto/interchain_security/ccv/provider/v1/tx.proto

+6
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ message MsgOptOutResponse {}
270270
message MsgSetConsumerCommissionRate {
271271
option (gogoproto.equal) = false;
272272
option (gogoproto.goproto_getters) = false;
273+
option (cosmos.msg.v1.signer) = "signer";
274+
273275
// The validator address on the provider
274276
string provider_addr = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ];
275277
// The chain id of the consumer chain to set a commission rate
@@ -281,6 +283,8 @@ message MsgSetConsumerCommissionRate {
281283
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
282284
(gogoproto.nullable) = false
283285
];
286+
// signer address
287+
string signer = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"];
284288
}
285289

286290

@@ -292,6 +296,8 @@ message MsgSetConsumerCommissionRateResponse {}
292296
//
293297
// Note: this replaces ConsumerModificationProposal which is deprecated and will be removed soon
294298
message MsgConsumerModification {
299+
option (cosmos.msg.v1.signer) = "authority";
300+
295301
// the title of the proposal
296302
string title = 1;
297303
// the description of the proposal

0 commit comments

Comments
 (0)