abci: proto files follow same path (#5039)

## Description

have the defined abci proto types follow the same directory structure as in abci folder.

Closes: #XXX
This commit is contained in:
Marko
2020-06-23 05:38:50 +00:00
committed by GitHub
parent 3c79251ffc
commit 73e22a3c5a
7 changed files with 1200 additions and 1197 deletions
@@ -1,6 +1,7 @@
syntax = "proto3";
package tendermint.abci;
option go_package = "github.com/tendermint/tendermint/abci/types";
package tendermint.abci.types;
option go_package = "github.com/tendermint/tendermint/abci/types";
// For more information on gogo.proto, see:
// https://github.com/gogo/protobuf/blob/master/extensions.md
+3 -3
View File
@@ -2,7 +2,7 @@ syntax = "proto3";
package tendermint.rpc.grpc;
option go_package = "github.com/tendermint/tendermint/rpc/grpc;coregrpc";
import "tendermint/abci/abci.proto";
import "tendermint/abci/types/types.proto";
//----------------------------------------
// Request types
@@ -19,8 +19,8 @@ message RequestBroadcastTx {
message ResponsePing {}
message ResponseBroadcastTx {
tendermint.abci.ResponseCheckTx check_tx = 1;
tendermint.abci.ResponseDeliverTx deliver_tx = 2;
tendermint.abci.types.ResponseCheckTx check_tx = 1;
tendermint.abci.types.ResponseDeliverTx deliver_tx = 2;
}
//----------------------------------------
+47 -47
View File
@@ -415,53 +415,53 @@ func init() { proto.RegisterFile("tendermint/state/types.proto", fileDescriptor_
var fileDescriptor_ccfacf933f22bf93 = []byte{
// 753 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xc1, 0x4e, 0xdb, 0x4a,
0x14, 0x86, 0xe3, 0x1b, 0x20, 0xc9, 0x31, 0x21, 0xdc, 0xe1, 0x2e, 0x42, 0xee, 0xc5, 0x09, 0xb9,
0x55, 0x85, 0xba, 0x70, 0x24, 0xba, 0xa8, 0xba, 0x41, 0xc2, 0x49, 0x55, 0x22, 0xa1, 0xaa, 0x35,
0x88, 0x45, 0x37, 0xd6, 0x24, 0x1e, 0x6c, 0xab, 0x89, 0x6d, 0x79, 0x26, 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x05, 0x52, 0xbe, 0x9f, 0x10, 0x5e,
0xa6, 0x08, 0xe9, 0x01, 0x43, 0xb5, 0xe9, 0x9c, 0x97, 0x3b, 0xb6, 0x22, 0x2e, 0xeb, 0xff, 0xb9,
0x63, 0xe7, 0xd5, 0xa9, 0x77, 0x6f, 0xed, 0x1f, 0xf0, 0x97, 0xfd, 0xf3, 0x16, 0x3c, 0xbc, 0xd1,
0x3f, 0x0b, 0xfc, 0x5c, 0x9e, 0x2e, 0xe4, 0xb5, 0x94, 0x86, 0xba, 0x09, 0xca, 0x34, 0x66, 0x46,
0x4c, 0x08, 0x9d, 0x8c, 0x18, 0x75, 0x7c, 0x4c, 0xfd, 0xfa, 0x7a, 0x4b, 0xeb, 0xac, 0x4b, 0x23,
0x22, 0x39, 0x7f, 0x80, 0xa9, 0x0f, 0xb7, 0x41, 0x19, 0xc7, 0xb1, 0x4c, 0xa9, 0x8a, 0x94, 0x12,
0x8e, 0x63, 0x1e, 0xb2, 0xde, 0x5f, 0xcc, 0x0c, 0xed, 0x72, 0x66, 0x68, 0x3f, 0x67, 0x86, 0x76,
0x7e, 0x6d, 0x14, 0x2e, 0xaf, 0x8d, 0xc2, 0xf7, 0x6b, 0xa3, 0xf0, 0xe1, 0xb9, 0x17, 0x30, 0x7f,
0x32, 0x30, 0x87, 0xd1, 0xb8, 0xab, 0x3e, 0x20, 0xf3, 0xa1, 0x7c, 0xcb, 0x16, 0x5f, 0xc1, 0xc1,
0x9a, 0x98, 0x7f, 0xf6, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x95, 0x91, 0x6b, 0x20, 0x07, 0x00,
0x00,
}
+4 -4
View File
@@ -4,7 +4,7 @@ package tendermint.state;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/state";
import "gogoproto/gogo.proto";
import "tendermint/abci/abci.proto";
import "tendermint/abci/types/types.proto";
import "tendermint/types/types.proto";
import "tendermint/types/validator.proto";
import "tendermint/types/params.proto";
@@ -15,9 +15,9 @@ import "google/protobuf/timestamp.proto";
// of the various ABCI calls during block processing.
// It is persisted to disk for each height before calling Commit.
message ABCIResponses {
repeated tendermint.abci.ResponseDeliverTx deliver_txs = 1;
tendermint.abci.ResponseEndBlock end_block = 2;
tendermint.abci.ResponseBeginBlock begin_block = 3;
repeated tendermint.abci.types.ResponseDeliverTx deliver_txs = 1;
tendermint.abci.types.ResponseEndBlock end_block = 2;
tendermint.abci.types.ResponseBeginBlock begin_block = 3;
}
// ValidatorsInfo represents the latest validator set, or the last height it changed