|
|
@ -8,9 +8,8 @@ import "tendermint/types/params.proto"; |
|
|
|
import "google/protobuf/timestamp.proto"; |
|
|
|
import "gogoproto/gogo.proto"; |
|
|
|
|
|
|
|
|
|
|
|
// This file is a temporary workaround to enable development during the ABCI++ |
|
|
|
// project. This file should be deleted and any references to it removed when |
|
|
|
// project. This file should be deleted and any references to it removed when |
|
|
|
// the ongoing work on ABCI++ is completed. |
|
|
|
// |
|
|
|
// For the duration of ABCI++, this file should be able to build the `abci/types/types.pb.go` |
|
|
@ -23,25 +22,25 @@ import "gogoproto/gogo.proto"; |
|
|
|
|
|
|
|
message Request { |
|
|
|
oneof value { |
|
|
|
RequestEcho echo = 1; |
|
|
|
RequestFlush flush = 2; |
|
|
|
RequestInfo info = 3; |
|
|
|
RequestInitChain init_chain = 4; |
|
|
|
RequestQuery query = 5; |
|
|
|
RequestBeginBlock begin_block = 6 [deprecated = true]; |
|
|
|
RequestCheckTx check_tx = 7; |
|
|
|
RequestDeliverTx deliver_tx = 8 [deprecated = true]; |
|
|
|
RequestEndBlock end_block = 9 [deprecated = true]; |
|
|
|
RequestCommit commit = 10; |
|
|
|
RequestListSnapshots list_snapshots = 11; |
|
|
|
RequestOfferSnapshot offer_snapshot = 12; |
|
|
|
RequestLoadSnapshotChunk load_snapshot_chunk = 13; |
|
|
|
RequestApplySnapshotChunk apply_snapshot_chunk = 14; |
|
|
|
RequestPrepareProposal prepare_proposal = 15; |
|
|
|
RequestProcessProposal process_proposal = 16; |
|
|
|
RequestEcho echo = 1; |
|
|
|
RequestFlush flush = 2; |
|
|
|
RequestInfo info = 3; |
|
|
|
RequestInitChain init_chain = 4; |
|
|
|
RequestQuery query = 5; |
|
|
|
RequestBeginBlock begin_block = 6 [deprecated = true]; |
|
|
|
RequestCheckTx check_tx = 7; |
|
|
|
RequestDeliverTx deliver_tx = 8 [deprecated = true]; |
|
|
|
RequestEndBlock end_block = 9 [deprecated = true]; |
|
|
|
RequestCommit commit = 10; |
|
|
|
RequestListSnapshots list_snapshots = 11; |
|
|
|
RequestOfferSnapshot offer_snapshot = 12; |
|
|
|
RequestLoadSnapshotChunk load_snapshot_chunk = 13; |
|
|
|
RequestApplySnapshotChunk apply_snapshot_chunk = 14; |
|
|
|
RequestPrepareProposal prepare_proposal = 15; |
|
|
|
RequestProcessProposal process_proposal = 16; |
|
|
|
RequestExtendVote extend_vote = 17; |
|
|
|
RequestVerifyVoteExtension verify_vote_extension = 18; |
|
|
|
RequestFinalizeBlock finalize_block = 19; |
|
|
|
RequestFinalizeBlock finalize_block = 19; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -167,26 +166,26 @@ message RequestFinalizeBlock { |
|
|
|
|
|
|
|
message Response { |
|
|
|
oneof value { |
|
|
|
ResponseException exception = 1; |
|
|
|
ResponseEcho echo = 2; |
|
|
|
ResponseFlush flush = 3; |
|
|
|
ResponseInfo info = 4; |
|
|
|
ResponseInitChain init_chain = 5; |
|
|
|
ResponseQuery query = 6; |
|
|
|
ResponseBeginBlock begin_block = 7 [deprecated = true]; |
|
|
|
ResponseCheckTx check_tx = 8; |
|
|
|
ResponseDeliverTx deliver_tx = 9 [deprecated = true]; |
|
|
|
ResponseEndBlock end_block = 10 [deprecated = true]; |
|
|
|
ResponseCommit commit = 11; |
|
|
|
ResponseListSnapshots list_snapshots = 12; |
|
|
|
ResponseOfferSnapshot offer_snapshot = 13; |
|
|
|
ResponseLoadSnapshotChunk load_snapshot_chunk = 14; |
|
|
|
ResponseApplySnapshotChunk apply_snapshot_chunk = 15; |
|
|
|
ResponsePrepareProposal prepare_proposal = 16; |
|
|
|
ResponseProcessProposal process_proposal = 17; |
|
|
|
ResponseException exception = 1; |
|
|
|
ResponseEcho echo = 2; |
|
|
|
ResponseFlush flush = 3; |
|
|
|
ResponseInfo info = 4; |
|
|
|
ResponseInitChain init_chain = 5; |
|
|
|
ResponseQuery query = 6; |
|
|
|
ResponseBeginBlock begin_block = 7 [deprecated = true]; |
|
|
|
ResponseCheckTx check_tx = 8; |
|
|
|
ResponseDeliverTx deliver_tx = 9 [deprecated = true]; |
|
|
|
ResponseEndBlock end_block = 10 [deprecated = true]; |
|
|
|
ResponseCommit commit = 11; |
|
|
|
ResponseListSnapshots list_snapshots = 12; |
|
|
|
ResponseOfferSnapshot offer_snapshot = 13; |
|
|
|
ResponseLoadSnapshotChunk load_snapshot_chunk = 14; |
|
|
|
ResponseApplySnapshotChunk apply_snapshot_chunk = 15; |
|
|
|
ResponsePrepareProposal prepare_proposal = 16; |
|
|
|
ResponseProcessProposal process_proposal = 17; |
|
|
|
ResponseExtendVote extend_vote = 18; |
|
|
|
ResponseVerifyVoteExtension verify_vote_extension = 19; |
|
|
|
ResponseFinalizeBlock finalize_block = 20; |
|
|
|
ResponseFinalizeBlock finalize_block = 20; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -394,7 +393,7 @@ message ExecTxResult { |
|
|
|
string info = 4; // nondeterministic |
|
|
|
int64 gas_wanted = 5; |
|
|
|
int64 gas_used = 6; |
|
|
|
repeated Event events = 7 |
|
|
|
repeated Event events = 7 |
|
|
|
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; // nondeterministic |
|
|
|
string codespace = 8; |
|
|
|
} |
|
|
@ -403,15 +402,15 @@ message ExecTxResult { |
|
|
|
// |
|
|
|
// One usage is indexing transaction results. |
|
|
|
message TxResult { |
|
|
|
int64 height = 1; |
|
|
|
uint32 index = 2; |
|
|
|
bytes tx = 3; |
|
|
|
int64 height = 1; |
|
|
|
uint32 index = 2; |
|
|
|
bytes tx = 3; |
|
|
|
ExecTxResult result = 4 [(gogoproto.nullable) = false]; |
|
|
|
} |
|
|
|
|
|
|
|
message TxRecord { |
|
|
|
TxAction action = 1; |
|
|
|
bytes tx = 2; |
|
|
|
TxAction action = 1; |
|
|
|
bytes tx = 2; |
|
|
|
|
|
|
|
// TxAction contains App-provided information on what to do with a transaction that is part of a raw proposal |
|
|
|
enum TxAction { |
|
|
|