@@ -102,8 +102,7 @@ message RequestEndBlock {
102102message RequestCommit {}
103103
104104// lists available snapshots
105- message RequestListSnapshots {
106- }
105+ message RequestListSnapshots {}
107106
108107// offers a snapshot to the application
109108message 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
217222message 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
229236message 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