From f1b332e69177809b32e4febd60cc0e454289e6f6 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 11 Apr 2022 11:56:08 -0400 Subject: [PATCH] update types.proto --- proto/tendermint/abci/types.proto | 33 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/proto/tendermint/abci/types.proto b/proto/tendermint/abci/types.proto index c22c67d89..b9393d2e8 100644 --- a/proto/tendermint/abci/types.proto +++ b/proto/tendermint/abci/types.proto @@ -130,24 +130,22 @@ message RequestPrepareProposal { repeated bytes txs = 2; ExtendedCommitInfo local_last_commit = 3 [(gogoproto.nullable) = false]; repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; - bytes hash = 5; - int64 height = 6; - google.protobuf.Timestamp time = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // address of the public key of the node receiving this PrepareProposal request. - bytes proposer_address = 8; - bytes next_validators_hash = 9; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; } message RequestProcessProposal { - repeated bytes txs = 1; - CommitInfo proposed_last_commit = 2 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 3 [(gogoproto.nullable) = false]; + repeated bytes txs = 1; + CommitInfo proposed_last_commit = 2 [(gogoproto.nullable) = false]; + repeated Evidence byzantine_validators = 3 [(gogoproto.nullable) = false]; + // hash is the merkle root hash of the fields of the proposed block. bytes hash = 4; int64 height = 5; google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; // address of the public key of the original proposer of the block. - bytes proposer_address = 7; - bytes next_validators_hash = 8; + bytes proposer_address = 8; } // Extends a vote with application-side injection @@ -165,15 +163,16 @@ message RequestVerifyVoteExtension { } message RequestFinalizeBlock { - repeated bytes txs = 1; - CommitInfo decided_last_commit = 2 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 3 [(gogoproto.nullable) = false]; + repeated bytes txs = 1; + CommitInfo decided_last_commit = 2 [(gogoproto.nullable) = false]; + repeated Evidence byzantine_validators = 3 [(gogoproto.nullable) = false]; + // hash is the merkle root hash of the fields of the proposed block. bytes hash = 4; int64 height = 5; google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // address of the public key of the original proposer of the block. - bytes proposer_address = 7; - bytes next_validators_hash = 8; + bytes next_validators_hash = 7; + // proposer_address is the address of the public key of the original proposer of the block. + bytes proposer_address = 8; } //----------------------------------------