Skip to content

Commit 066f8a7

Browse files
authored
chore: format proto files (#17445)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
1 parent c48bf70 commit 066f8a7

File tree

34 files changed

+213
-234
lines changed

34 files changed

+213
-234
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ lint-fix:
391391
### Protobuf ###
392392
###############################################################################
393393

394-
protoVer=0.13.5
394+
protoVer=0.14.0
395395
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
396396
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
397397

api/cosmos/autocli/v1/options.pulsar.go

Lines changed: 3 additions & 3 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: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/tendermint/abci/types.pulsar.go

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

baseapp/testutil/messages.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ option go_package = "github.com/cosmos/cosmos-sdk/baseapp/testutil";
99
message MsgCounter {
1010
option (cosmos.msg.v1.signer) = "signer";
1111

12-
int64 counter = 1;
13-
bool fail_on_handler = 2;
14-
string signer = 3;
12+
int64 counter = 1;
13+
bool fail_on_handler = 2;
14+
string signer = 3;
1515
}
1616

1717
message MsgCounter2 {
1818
option (cosmos.msg.v1.signer) = "signer";
1919

20-
int64 counter = 1;
21-
bool fail_on_handler = 2;
22-
string signer = 3;
20+
int64 counter = 1;
21+
bool fail_on_handler = 2;
22+
string signer = 3;
2323
}
2424

2525
message MsgCreateCounterResponse {}

client/v2/internal/testpb/msg.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ message MsgRequest {
4444
string deprecated_field = 30;
4545
string shorthand_deprecated_field = 31;
4646
bool hidden_bool = 32;
47-
string a_validator_address = 33 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"];
47+
string a_validator_address = 33 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"];
4848
}
4949

5050
message MsgResponse {

client/v2/internal/testpb/query.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ message EchoRequest {
4040
string positional2 = 28;
4141
repeated cosmos.base.v1beta1.Coin positional3_varargs = 29;
4242

43-
string deprecated_field = 30;
44-
string shorthand_deprecated_field = 31;
45-
bool hidden_bool = 32;
46-
map<string, string> map_string_string = 33;
47-
map<string, uint32> map_string_uint32 = 34;
48-
map<string, cosmos.base.v1beta1.Coin> map_string_coin = 35;
43+
string deprecated_field = 30;
44+
string shorthand_deprecated_field = 31;
45+
bool hidden_bool = 32;
46+
map<string, string> map_string_string = 33;
47+
map<string, uint32> map_string_uint32 = 34;
48+
map<string, cosmos.base.v1beta1.Coin> map_string_coin = 35;
4949
string a_validator_address = 36 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"];
5050
string a_consensus_address = 37 [(cosmos_proto.scalar) = "cosmos.ConsensusAddressString"];
5151
}

orm/internal/testpb/bank_query.proto

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ message ListBalanceRequest {
4242
// denom specifies the value of the Denom index key to use in the query.
4343
Denom denom = 2;
4444
}
45-
45+
4646
message AddressDenom {
4747
// address is the value of the address field in the index.
4848
// It can be omitted to query for all valid values of that field in this segment of the index.
@@ -51,14 +51,14 @@ message ListBalanceRequest {
5151
// It can be omitted to query for all valid values of that field in this segment of the index.
5252
optional string denom = 2;
5353
}
54-
54+
5555
message Denom {
5656
// denom is the value of the denom field in the index.
5757
// It can be omitted to query for all valid values of that field in this segment of the index.
5858
optional string denom = 1;
5959
}
6060
}
61-
61+
6262
// query specifies the type of query - either a prefix or range query.
6363
oneof query {
6464
// prefix_query specifies the index key value to use for the prefix query.
@@ -68,7 +68,7 @@ message ListBalanceRequest {
6868
}
6969
// pagination specifies optional pagination parameters.
7070
cosmos.base.query.v1beta1.PageRequest pagination = 3;
71-
71+
7272
// RangeQuery specifies the from/to index keys for a range query.
7373
message RangeQuery {
7474
// from is the index key to use for the start of the range query.
@@ -110,14 +110,14 @@ message ListSupplyRequest {
110110
// denom specifies the value of the Denom index key to use in the query.
111111
Denom denom = 1;
112112
}
113-
113+
114114
message Denom {
115115
// denom is the value of the denom field in the index.
116116
// It can be omitted to query for all valid values of that field in this segment of the index.
117117
optional string denom = 1;
118118
}
119119
}
120-
120+
121121
// query specifies the type of query - either a prefix or range query.
122122
oneof query {
123123
// prefix_query specifies the index key value to use for the prefix query.
@@ -127,7 +127,7 @@ message ListSupplyRequest {
127127
}
128128
// pagination specifies optional pagination parameters.
129129
cosmos.base.query.v1beta1.PageRequest pagination = 3;
130-
130+
131131
// RangeQuery specifies the from/to index keys for a range query.
132132
message RangeQuery {
133133
// from is the index key to use for the start of the range query.
@@ -147,4 +147,3 @@ message ListSupplyResponse {
147147
// pagination is the pagination response.
148148
cosmos.base.query.v1beta1.PageResponse pagination = 2;
149149
}
150-

0 commit comments

Comments
 (0)