mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 04:01:40 +00:00
types: int32 with gogo int
This commit is contained in:
@ -66,7 +66,7 @@ message RequestInitChain{
|
||||
message RequestBeginBlock{
|
||||
bytes hash = 1;
|
||||
Header header = 2;
|
||||
repeated int32 absent_validators = 3;
|
||||
repeated int32 absent_validators = 3 [(gogoproto.customtype) = "int", (gogoproto.nullable) = false];
|
||||
repeated Evidence byzantine_validators = 4;
|
||||
}
|
||||
|
||||
@ -166,7 +166,7 @@ message Header {
|
||||
string chain_id = 1;
|
||||
int64 height = 2;
|
||||
int64 time = 3;
|
||||
int64 num_txs = 4;
|
||||
int32 num_txs = 4 [(gogoproto.customtype) = "int", (gogoproto.nullable) = false];
|
||||
BlockID last_block_id = 5;
|
||||
bytes last_commit_hash = 6;
|
||||
bytes data_hash = 7;
|
||||
@ -180,7 +180,7 @@ message BlockID {
|
||||
}
|
||||
|
||||
message PartSetHeader {
|
||||
int64 total = 1;
|
||||
int32 total = 1 [(gogoproto.customtype) = "int", (gogoproto.nullable) = false];
|
||||
bytes hash = 2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user