Skip to content

Commit 24dc3c4

Browse files
authored
fix: update proto files to v0.34.21 (#547)
During latest Cosmos SDK v0.46.1 update, I forgot to update proto files and script to get them. This PR fixes this.
1 parent cc0a295 commit 24dc3c4

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

proto/get_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
cd "$(dirname "${BASH_SOURCE[0]}")"
44

5-
TM_VERSION=v0.34.14
5+
TM_VERSION=v0.34.21
66
TM_PROTO_URL=https://raw.githubusercontent.com/tendermint/tendermint/$TM_VERSION/proto/tendermint
77

88
TM_PROTO_FILES=(

proto/tendermint/abci/types.proto

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ message RequestEndBlock {
102102
message RequestCommit {}
103103

104104
// lists available snapshots
105-
message RequestListSnapshots {
106-
}
105+
message RequestListSnapshots {}
107106

108107
// offers a snapshot to the application
109108
message RequestOfferSnapshot {
@@ -212,6 +211,12 @@ message ResponseCheckTx {
212211
repeated Event events = 7
213212
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"];
214213
string codespace = 8;
214+
string sender = 9;
215+
int64 priority = 10;
216+
217+
// mempool_error is set by Tendermint.
218+
// ABCI applictions creating a ResponseCheckTX should not set mempool_error.
219+
string mempool_error = 11;
215220
}
216221

217222
message ResponseDeliverTx {
@@ -221,16 +226,17 @@ message ResponseDeliverTx {
221226
string info = 4; // nondeterministic
222227
int64 gas_wanted = 5 [json_name = "gas_wanted"];
223228
int64 gas_used = 6 [json_name = "gas_used"];
224-
repeated Event events = 7
225-
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; // nondeterministic
229+
repeated Event events = 7 [
230+
(gogoproto.nullable) = false,
231+
(gogoproto.jsontag) = "events,omitempty"
232+
]; // nondeterministic
226233
string codespace = 8;
227234
}
228235

229236
message ResponseEndBlock {
230-
repeated ValidatorUpdate validator_updates = 1
231-
[(gogoproto.nullable) = false];
232-
ConsensusParams consensus_param_updates = 2;
233-
repeated Event events = 3
237+
repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false];
238+
ConsensusParams consensus_param_updates = 2;
239+
repeated Event events = 3
234240
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"];
235241
}
236242

@@ -364,10 +370,8 @@ message Evidence {
364370
// The height when the offense occurred
365371
int64 height = 3;
366372
// The corresponding time where the offense occurred
367-
google.protobuf.Timestamp time = 4 [
368-
(gogoproto.nullable) = false,
369-
(gogoproto.stdtime) = true
370-
];
373+
google.protobuf.Timestamp time = 4
374+
[(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
371375
// Total voting power of the validator set in case the ABCI application does
372376
// not store historical validators.
373377
// https://github.com/tendermint/tendermint/issues/4581
@@ -402,6 +406,8 @@ service ABCIApplication {
402406
rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock);
403407
rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots);
404408
rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot);
405-
rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk);
406-
rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk);
409+
rpc LoadSnapshotChunk(RequestLoadSnapshotChunk)
410+
returns (ResponseLoadSnapshotChunk);
411+
rpc ApplySnapshotChunk(RequestApplySnapshotChunk)
412+
returns (ResponseApplySnapshotChunk);
407413
}

0 commit comments

Comments
 (0)