Skip to content

Commit 5ccf5b3

Browse files
build(deps): Bump github.com/cometbft/cometbft from 0.38.7 to 0.38.11 (#1806)
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.7 to 0.38.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cometbft/cometbft/releases">github.com/cometbft/cometbft's releases</a>.</em></p> <blockquote> <h2>v0.38.11</h2> <p><a href="https://github.com/cometbft/cometbft/blob/v0.38.11/CHANGELOG.md#v03811">CHANGELOG</a></p> <h2>v0.38.10</h2> <p>See the <a href="https://github.com/cometbft/cometbft/blob/v0.38.10/CHANGELOG.md#v03810">CHANGELOG</a> for this release.</p> <h2>v0.38.9</h2> <p>See the <a href="https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md#v0389">CHANGELOG</a> for this release.</p> <h2>v0.38.8</h2> <p>See the <a href="https://github.com/cometbft/cometbft/blob/v0.38.8/CHANGELOG.md#v0388">CHANGELOG</a> for this release.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cometbft/cometbft/blob/v0.38.11/CHANGELOG.md">github.com/cometbft/cometbft's changelog</a>.</em></p> <blockquote> <h2>v0.38.11</h2> <p><em>August 12, 2024</em></p> <p>This release fixes a panic in consensus where CometBFT would previously panic if there's no extension signature in non-nil Precommit EVEN IF vote extensions themselves are disabled.</p> <p>It also includes a few other bug fixes and performance improvements.</p> <h3>BUG FIXES</h3> <ul> <li><code>[types]</code> Added missing JSON tags to <code>DuplicateVoteEvidence</code> and <code>LightClientAttackEvidence</code> types (<a href="https://redirect.github.com/cometbft/cometbft/issues/3528">#3528</a>)</li> <li><code>[types]</code> Only check IFF vote is a non-nil Precommit if extensionsEnabled types (<a href="https://redirect.github.com/cometbft/cometbft/issues/3565">#3565</a>)</li> </ul> <h3>IMPROVEMENTS</h3> <ul> <li><code>[indexer]</code> Fixed ineffective select break statements; they now point to their enclosing for loop label to exit (<a href="https://redirect.github.com/cometbft/cometbft/issues/3544">#3544</a>)</li> </ul> <h2>v0.38.10</h2> <p><em>July 16, 2024</em></p> <p>This release fixes a bug in <code>v0.38.x</code> that prevented ABCI responses from being correctly read when upgrading from <code>v0.37.x</code> or below. It also includes a few other bug fixes and performance improvements.</p> <h3>BUG FIXES</h3> <ul> <li><code>[p2p]</code> Node respects configured <code>max_num_outbound_peers</code> limit when dialing peers provided by a seed node (<a href="https://redirect.github.com/cometbft/cometbft/issues/486">#486</a>)</li> <li><code>[rpc]</code> Fix an issue where a legacy ABCI response, created on <code>v0.37</code> or before, is not returned properly in <code>v0.38</code> and up on the <code>/block_results</code> RPC endpoint. (<a href="https://redirect.github.com/cometbft/cometbft/issues/3002">#3002</a>)</li> <li><code>[blocksync]</code> Do not stay in blocksync if the node's validator voting power is high enough to block the chain while it is not online (<a href="https://redirect.github.com/cometbft/cometbft/pull/3406">#3406</a>)</li> </ul> <h3>IMPROVEMENTS</h3> <ul> <li><code>[p2p/conn]</code> Update send monitor, used for sending rate limiting, once per batch of packets sent (<a href="https://redirect.github.com/cometbft/cometbft/pull/3382">#3382</a>)</li> <li><code>[libs/pubsub]</code> Allow dash (<code>-</code>) in event tags (<a href="https://redirect.github.com/cometbft/cometbft/issues/3401">#3401</a>)</li> <li><code>[p2p/conn]</code> Remove the usage of a synchronous pool of buffers in secret connection, storing instead the buffer in the connection struct. This reduces the synchronization primitive usage, speeding up the code.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cometbft/cometbft/commit/e1b4453baf0af6487ad187c7f17dc50517126673"><code>e1b4453</code></a> v0.38.11 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3684">#3684</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/66a04475080900b3c0525e7ab15f743837bd2339"><code>66a0447</code></a> build(deps): Bump docker/build-push-action from 6.5.0 to 6.6.1 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3676">#3676</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/cd3519da2716f863fb813fc1d562913fcc90ac83"><code>cd3519d</code></a> build(deps): Bump bufbuild/buf-setup-action from 1.35.1 to 1.36.0 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3675">#3675</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/c17d1f6708b205917499132670504e260461adbc"><code>c17d1f6</code></a> fix(types): Only require extension signature if extensions are enabled (<a href="https://redirect.github.com/cometbft/cometbft/issues/3565">#3565</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/f85d8979cc8881cbf545db90c95b24ec60c4f805"><code>f85d897</code></a> feat(mempool): add error ErrRecheckFull (backport <a href="https://redirect.github.com/cometbft/cometbft/issues/3654">#3654</a>) (<a href="https://redirect.github.com/cometbft/cometbft/issues/3656">#3656</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/9de925cafe12323736941c1503dc5b8a9dc444f3"><code>9de925c</code></a> fix(e2e): replace docker-compose w/ docker compose (backport <a href="https://redirect.github.com/cometbft/cometbft/issues/3614">#3614</a>) (<a href="https://redirect.github.com/cometbft/cometbft/issues/3616">#3616</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/e9bd8a9f32f11788051afc1bab42f96c8eb84e37"><code>e9bd8a9</code></a> build(deps): Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3610">#3610</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/61ca12ea10eba77a63befe28d9ac03e640f95b2c"><code>61ca12e</code></a> build(deps): Bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3584">#3584</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/cba216adee8cc11e47f13faeb323e774800e4b41"><code>cba216a</code></a> build(deps): Bump docker/login-action from 3.2.0 to 3.3.0 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3585">#3585</a>)</li> <li><a href="https://github.com/cometbft/cometbft/commit/aaf83e97f94e01d6be04a877c636b89cbc514f2a"><code>aaf83e9</code></a> build(deps): Bump docker/build-push-action from 6.4.1 to 6.5.0 (<a href="https://redirect.github.com/cometbft/cometbft/issues/3586">#3586</a>)</li> <li>Additional commits viewable in <a href="https://github.com/cometbft/cometbft/compare/v0.38.7...v0.38.11">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/cometbft/cometbft&package-manager=go_modules&previous-version=0.38.7&new-version=0.38.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the dependency version of the `cometbft` library to enhance performance and incorporate potential bug fixes and new features. - **New Features** - Enhanced the `Validator` structure with a new `VotingPower` field to improve consensus mechanisms. - Improved the initialization of the `ValidatorSet` for better management of validators in block serialization and consensus. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gupadhyaya <ganeshrvce@gmail.com>
1 parent c354989 commit 5ccf5b3

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ retract v0.12.0 // Published by accident
88

99
require (
1010
github.com/celestiaorg/utils v0.1.0
11-
github.com/cometbft/cometbft v0.38.7
11+
github.com/cometbft/cometbft v0.38.11
1212
github.com/cosmos/gogoproto v1.7.0
1313
github.com/go-kit/kit v0.13.0
1414
github.com/gogo/protobuf v1.3.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH
239239
github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
240240
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
241241
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
242-
github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk=
243-
github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY=
242+
github.com/cometbft/cometbft v0.38.11 h1:6bNDUB8/xq4uYonYwIfGc9OqK1ZH4NkdaMmR1LZIJqk=
243+
github.com/cometbft/cometbft v0.38.11/go.mod h1:jHPx9vQpWzPHEAiYI/7EDKaB1NXhK6o3SArrrY8ExKc=
244244
github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo=
245245
github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0=
246246
github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE=

types/serialization_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func TestBlockSerializationRoundTrip(t *testing.T) {
5151
}
5252

5353
pubKey1 := ed25519.GenPrivKey().PubKey()
54-
validator1 := &cmtypes.Validator{Address: pubKey1.Address(), PubKey: pubKey1}
54+
validator1 := &cmtypes.Validator{Address: pubKey1.Address(), PubKey: pubKey1, VotingPower: 1}
5555

5656
cases := []struct {
5757
name string
@@ -62,12 +62,11 @@ func TestBlockSerializationRoundTrip(t *testing.T) {
6262
SignedHeader: SignedHeader{
6363
Header: h1,
6464
Signature: Signature([]byte{1, 1, 1}),
65-
Validators: &cmtypes.ValidatorSet{
66-
Validators: []*cmtypes.Validator{
65+
Validators: cmtypes.NewValidatorSet(
66+
[]*cmtypes.Validator{
6767
validator1,
6868
},
69-
Proposer: validator1,
70-
},
69+
),
7170
},
7271
Data: Data{
7372
Txs: nil,

0 commit comments

Comments
 (0)