Skip to content

Commit

Permalink
fix(proto)!: remove unused SIGNED_MSG_TYPE_COMMIT (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jun 13, 2023
1 parent 90feab0 commit 200c050
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 108 deletions.
1 change: 1 addition & 0 deletions abci/types/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/tendermint/abci/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ message RequestProcessProposal {
// List of information about validators that acted incorrectly.
repeated Misbehavior misbehavior = 3 [(gogoproto.nullable) = false];
// The block header's hash of the proposed block.
// It is computed as a Merkle tree from the header fields.
bytes hash = 4;
// The height of the proposed block.
int64 height = 5;
Expand Down
202 changes: 99 additions & 103 deletions proto/tendermint/types/types.pb.go

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions proto/tendermint/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ enum SignedMsgType {
[(gogoproto.enumvalue_customname) = "PrevoteType"];
SIGNED_MSG_TYPE_PRECOMMIT = 2
[(gogoproto.enumvalue_customname) = "PrecommitType"];
SIGNED_MSG_TYPE_COMMIT = 3
[(gogoproto.enumvalue_customname) = "CommitType"];

// Proposals
SIGNED_MSG_TYPE_PROPOSAL = 32
Expand Down
2 changes: 1 addition & 1 deletion spec/abci++/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ When a validator _p_ enters Tenderdash consensus round _r_, height _h_, in which
| txs | [bytes](#bytes) | repeated | List of transactions that have been picked as part of the proposed |
| proposed_last_commit | [CommitInfo](#tendermint-abci-CommitInfo) | | Info about the last commit, obtained from the information in the proposed block. |
| misbehavior | [Misbehavior](#tendermint-abci-Misbehavior) | repeated | List of information about validators that acted incorrectly. |
| hash | [bytes](#bytes) | | The block header's hash of the proposed block. |
| hash | [bytes](#bytes) | | The block header's hash of the proposed block. It is computed as a Merkle tree from the header fields. |
| height | [int64](#int64) | | The height of the proposed block. |
| round | [int32](#int32) | | Round number for the block |
| time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | Timestamp included in the proposed block. |
Expand Down
2 changes: 1 addition & 1 deletion spec/consensus/signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ app state using vote signature. Data needed to do the verification is:

* Chain ID
* Commit information:
* Type (constant, always Commit)
* Type (constant, always Precommit)
* Height
* Round
* Hash of CanonicalBlockID
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
// when not using git describe. It is formatted with semantic versioning.
TMVersionDefault = "0.12.0-dev.2"
// ABCISemVer is the semantic version of the ABCI library
ABCISemVer = "0.20.0"
ABCISemVer = "0.21.0"

ABCIVersion = ABCISemVer
)
Expand Down

0 comments on commit 200c050

Please sign in to comment.