Skip to content

Commit 76a7bec

Browse files
committed
chore(proto): change future extracted modules version from v1.0.0 to v0.2.0
1 parent ca14b28 commit 76a7bec

File tree

12 files changed

+312
-312
lines changed

12 files changed

+312
-312
lines changed

api/cosmos/authz/v1beta1/tx.pulsar.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cosmos/gov/v1/gov.pulsar.go

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cosmos/gov/v1/query.pulsar.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cosmos/gov/v1/tx.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x/authz/proto/cosmos/authz/v1beta1/tx.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ message MsgRevokeAllResponse {
106106

107107
// MsgPruneExpiredGrants prunes the expired grants.
108108
message MsgPruneExpiredGrants {
109-
option (cosmos_proto.message_added_in) = "x/authz v1.0.0";
109+
option (cosmos_proto.message_added_in) = "x/authz v0.2.0";
110110
option (cosmos.msg.v1.signer) = "pruner";
111111

112112
string pruner = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
113113
}
114114

115115
// MsgPruneExpiredGrantsResponse defines the Msg/MsgPruneExpiredGrantsResponse response type.
116116
message MsgPruneExpiredGrantsResponse {
117-
option (cosmos_proto.message_added_in) = "x/authz v1.0.0";
117+
option (cosmos_proto.message_added_in) = "x/authz v0.2.0";
118118
}

x/authz/tx.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x/gov/proto/cosmos/gov/v1/gov.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ message Proposal {
130130
string failed_reason = 15 [(cosmos_proto.field_added_in) = "cosmos-sdk 0.50"];
131131

132132
// proposal_type defines the type of the proposal
133-
ProposalType proposal_type = 16 [(cosmos_proto.field_added_in) = "x/gov v1.0.0"];
133+
ProposalType proposal_type = 16 [(cosmos_proto.field_added_in) = "x/gov v0.2.0"];
134134
}
135135

136136
// ProposalStatus enumerates the valid statuses of a proposal.
@@ -157,7 +157,7 @@ enum ProposalStatus {
157157
// ProposalVoteOptions defines the stringified vote options for proposals.
158158
// This allows to support multiple choice options for a given proposal.
159159
message ProposalVoteOptions {
160-
option (cosmos_proto.message_added_in) = "x/gov v1.0.0";
160+
option (cosmos_proto.message_added_in) = "x/gov v0.2.0";
161161
// option_one is the first option of the proposal
162162
string option_one = 1;
163163

@@ -324,32 +324,32 @@ message Params {
324324
// depositors, according to the proposal_cancel_ratio and proposal_cancel_dest parameters.
325325
// After the max cancel period, the proposal cannot be cancelled anymore.
326326
string proposal_cancel_max_period = 17
327-
[(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v1.0.0"];
327+
[(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v0.2.0"];
328328

329329
// optimistic_authorized_addresses is an optional governance parameter that limits the authorized accounts than can
330330
// submit optimistic proposals
331331
repeated string optimistic_authorized_addresses = 18
332-
[(cosmos_proto.scalar) = "cosmos.AddressString", (cosmos_proto.field_added_in) = "x/gov v1.0.0"];
332+
[(cosmos_proto.scalar) = "cosmos.AddressString", (cosmos_proto.field_added_in) = "x/gov v0.2.0"];
333333

334334
// optimistic rejected threshold defines at which percentage of NO votes, the optimistic proposal should fail and be
335335
// converted to a standard proposal. The threshold is expressed as a percentage of the total bonded tokens.
336336
string optimistic_rejected_threshold = 19
337-
[(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v1.0.0"];
337+
[(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v0.2.0"];
338338

339339
// yes_quorum defines the minimum percentage of Yes votes in quorum for proposal to pass.
340340
// Default value: 0 (disabled).
341-
string yes_quorum = 20 [(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v1.0.0"];
341+
string yes_quorum = 20 [(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v0.2.0"];
342342

343343
// Minimum percentage of total stake needed to vote for a result to be
344344
// considered valid for an expedited proposal.
345-
string expedited_quorum = 21 [(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v1.0.0"];
345+
string expedited_quorum = 21 [(cosmos_proto.scalar) = "cosmos.Dec", (cosmos_proto.field_added_in) = "x/gov v0.2.0"];
346346
}
347347

348348
// MessageBasedParams defines the parameters of specific messages in a proposal.
349349
// It is used to define the parameters of a proposal that is based on a specific message.
350350
// Once a message has message based params, it only supports a standard proposal type.
351351
message MessageBasedParams {
352-
option (cosmos_proto.message_added_in) = "x/gov v1.0.0";
352+
option (cosmos_proto.message_added_in) = "x/gov v0.2.0";
353353
// Duration of the voting period.
354354
google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true];
355355

x/gov/proto/cosmos/gov/v1/query.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ service Query {
5959
// ProposalVoteOptions queries the valid voting options for a proposal.
6060
rpc ProposalVoteOptions(QueryProposalVoteOptionsRequest) returns (QueryProposalVoteOptionsResponse) {
6161
option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/vote_options";
62-
option (cosmos_proto.method_added_in) = "x/gov v1.0.0";
62+
option (cosmos_proto.method_added_in) = "x/gov v0.2.0";
6363
}
6464

6565
// MessageBasedParams queries the message specific governance params based on a msg url.
6666
rpc MessageBasedParams(QueryMessageBasedParamsRequest) returns (QueryMessageBasedParamsResponse) {
6767
option (google.api.http).get = "/cosmos/gov/v1/params/{msg_url}";
68-
option (cosmos_proto.method_added_in) = "x/gov v1.0.0";
68+
option (cosmos_proto.method_added_in) = "x/gov v0.2.0";
6969
}
7070
}
7171

x/gov/proto/cosmos/gov/v1/tx.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ message MsgSubmitProposal {
9898

9999
// proposal_type defines the type of proposal
100100
// When not set defaults to PROPOSAL_TYPE_STANDARD
101-
ProposalType proposal_type = 8 [(cosmos_proto.field_added_in) = "x/gov v1.0.0"];
101+
ProposalType proposal_type = 8 [(cosmos_proto.field_added_in) = "x/gov v0.2.0"];
102102
}
103103

104104
// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.

0 commit comments

Comments
 (0)