chore: Update RequestExtendVote (#17993)

This commit is contained in:
samricotta 2023-10-06 18:28:21 +03:00 committed by GitHub
parent a556bc4a88
commit c325cbf004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1927 additions and 1294 deletions

View File

@ -407,7 +407,7 @@ proto-lint:
proto-check-breaking:
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main
CMT_URL = https://raw.githubusercontent.com/cometbft/cometbft/v0.38.0-alpha.2/proto/tendermint
CMT_URL = https://raw.githubusercontent.com/cometbft/cometbft/v0.38.0/proto/tendermint
CMT_CRYPTO_TYPES = proto/tendermint/crypto
CMT_ABCI_TYPES = proto/tendermint/abci

File diff suppressed because it is too large Load Diff

View File

@ -153,10 +153,18 @@ message RequestProcessProposal {
// Extends a vote with application-injected data
message RequestExtendVote {
// the hash of the block that this vote may be referring to
// the hash of the block that this vote may be referring to
bytes hash = 1;
// the height of the extended vote
int64 height = 2;
// info of the block that this vote may be referring to
google.protobuf.Timestamp time = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
repeated bytes txs = 4;
CommitInfo proposed_last_commit = 5 [(gogoproto.nullable) = false];
repeated Misbehavior misbehavior = 6 [(gogoproto.nullable) = false];
bytes next_validators_hash = 7;
// address of the public key of the original proposer of the block.
bytes proposer_address = 8;
}
// Verify the vote extension
@ -395,8 +403,8 @@ message ExecTxResult {
bytes data = 2;
string log = 3; // nondeterministic
string info = 4; // nondeterministic
int64 gas_wanted = 5;
int64 gas_used = 6;
int64 gas_wanted = 5 [json_name = "gas_wanted"];
int64 gas_used = 6 [json_name = "gas_used"];
repeated Event events = 7
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; // nondeterministic
string codespace = 8;

File diff suppressed because it is too large Load Diff