Browse Source

proto: add tendermint go changes (#349)

* add missed proto files

* add abci changes

* rename blockchain to blocksync

* Update proto/tendermint/abci/types.proto

Co-authored-by: Callum Waters <cmwaters19@gmail.com>

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
pull/7804/head
Marko 3 years ago
committed by GitHub
parent
commit
fa2ccc80da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions
  1. +4
    -0
      proto/tendermint/abci/types.proto
  2. +2
    -2
      proto/tendermint/blocksync/types.proto
  3. +4
    -2
      proto/tendermint/statesync/types.proto

+ 4
- 0
proto/tendermint/abci/types.proto View File

@ -196,6 +196,10 @@ message ResponseCheckTx {
string codespace = 8;
string sender = 9;
int64 priority = 10;
// mempool_error is set by Tendermint.
// ABCI applications creating a ResponseCheckTX should not set mempool_error.
string mempool_error = 11;
}
message ResponseDeliverTx {


proto/tendermint/blockchain/types.proto → proto/tendermint/blocksync/types.proto View File


+ 4
- 2
proto/tendermint/statesync/types.proto View File

@ -1,7 +1,9 @@
syntax = "proto3";
package tendermint.statesync;
import "gogoproto/gogo.proto";
import "tendermint/types/types.proto";
import "tendermint/types/params.proto";
option go_package = "github.com/tendermint/tendermint/proto/tendermint/statesync";
@ -55,6 +57,6 @@ message ParamsRequest {
}
message ParamsResponse {
uint64 height = 1;
tendermint.types.ConsensusParams consensus_params = 2;
uint64 height = 1;
tendermint.types.ConsensusParams consensus_params = 2 [(gogoproto.nullable) = false];
}

Loading…
Cancel
Save