abci: Remove SetOption #5447 #9091 (#9266)

* Remove set option for abci
This commit is contained in:
samricotta
2022-08-16 22:58:04 +02:00
committed by GitHub
parent 670abbc330
commit 9993514893
21 changed files with 285 additions and 1181 deletions
+2 -17
View File
@@ -24,7 +24,6 @@ message Request {
RequestEcho echo = 1;
RequestFlush flush = 2;
RequestInfo info = 3;
RequestSetOption set_option = 4;
RequestInitChain init_chain = 5;
RequestQuery query = 6;
RequestBeginBlock begin_block = 7;
@@ -39,6 +38,7 @@ message Request {
RequestPrepareProposal prepare_proposal = 16;
RequestProcessProposal process_proposal = 17;
}
reserved 4;
}
message RequestEcho {
@@ -54,12 +54,6 @@ message RequestInfo {
string abci_version = 4;
}
// nondeterministic
message RequestSetOption {
string key = 1;
string value = 2;
}
message RequestInitChain {
google.protobuf.Timestamp time = 1
[(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
@@ -164,7 +158,6 @@ message Response {
ResponseEcho echo = 2;
ResponseFlush flush = 3;
ResponseInfo info = 4;
ResponseSetOption set_option = 5;
ResponseInitChain init_chain = 6;
ResponseQuery query = 7;
ResponseBeginBlock begin_block = 8;
@@ -179,6 +172,7 @@ message Response {
ResponsePrepareProposal prepare_proposal = 17;
ResponseProcessProposal process_proposal = 18;
}
reserved 5;
}
// nondeterministic
@@ -202,14 +196,6 @@ message ResponseInfo {
bytes last_block_app_hash = 5;
}
// nondeterministic
message ResponseSetOption {
uint32 code = 1;
// bytes data = 2;
string log = 3;
string info = 4;
}
message ResponseInitChain {
ConsensusParams consensus_params = 1;
repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false];
@@ -470,7 +456,6 @@ service ABCIApplication {
rpc Echo(RequestEcho) returns (ResponseEcho);
rpc Flush(RequestFlush) returns (ResponseFlush);
rpc Info(RequestInfo) returns (ResponseInfo);
rpc SetOption(RequestSetOption) returns (ResponseSetOption);
rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx);
rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx);
rpc Query(RequestQuery) returns (ResponseQuery);