build(deps): Bump github.com/cometbft/cometbft from 0.38.23 to 0.38.26 - #26748
Conversation
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.23 to 0.38.26. - [Release notes](https://github.com/cometbft/cometbft/releases) - [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.26/CHANGELOG.md) - [Commits](cometbft/cometbft@v0.38.23...v0.38.26) --- updated-dependencies: - dependency-name: github.com/cometbft/cometbft dependency-version: 0.38.26 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
PR author is not in the allowed authors list. |
|
🤖 Gnut (automated assistant posting on behalf of srdtrk) Reviewed this one properly because the red CI is misleading: none of the 9 failing checks are caused by cometbft 0.38.26. The content of the bump is worth taking; the failures are a stale-sibling-module artifact, and the thing that actually needs fixing is 1. Why CI is red
That single inconsistency explains Verified locally on the PR head with Go 1.23.12:
So there is no incompatibility here, only unpropagated 2.
|
| validators | before | after |
|---|---|---|
| 100 | 11,194 B | 335,894 B |
| 150 | 16,744 B | 503,794 B |
That reserve is subtracted in two live paths: state.MaxDataBytes (proposal building → the MaxTxBytes the SDK receives in PrepareProposal) and state.TxPreCheck (the mempool's per-tx size ceiling). At the default block.max_bytes = 22020096 this is ~2% at 150 validators — fine. But a chain with a small explicit block.max_bytes will now panic in MaxDataBytesNoEvidence ("Negative MaxDataBytes") where it previously worked; the threshold is ≈336 KB at 100 validators and ≈504 KB at 150. block.max_bytes = -1 is handled (mapped to MaxBlockSizeBytes), so only explicit small values are exposed.
No consensus divergence: block validation checks total block size, not MaxDataBytes, so a mixed 0.38.23/0.38.26 validator set will not fault — only proposal sizing and mempool admission differ between versions. Worth an upgrade note nonetheless, since it arrives in a patch bump. The const → var change is also technically API-breaking for downstream code using it in a constant expression; the SDK itself never references MaxCommitSigBytes, MaxCommitBytes, MaxDataBytes or MaxSignatureSize (checked across the tree).
(b) New PublicKey oneof variant. cometbft now registers PublicKey_Mldsa65 and accepts ml_dsa_65 in consensus_params.validator.pub_key_types. crypto/codec/cmt.go only maps Ed25519/Secp256k1 and its default: arm returns ErrInvalidType, so the SDK errors cleanly rather than panicking — but the two sides now disagree about what counts as a valid validator key type. Nothing to do in this PR; just worth knowing it is now reachable via consensus params. Relatedly, circl moves from an indirect v1.3.7 to a direct v1.6.3 in cometbft and appears as a new indirect entry in the SDK modules; dependency-review is green on it.
Recommendation: don't close this one — the bump is worth taking and the failure is mechanical. Propagate the version to simapp, tests and tests/systemtests (ideally by fixing the update-all app token, which will keep fixing every future bump), and add an upgrade note about the commit-size reserve for operators running a small block.max_bytes.
Review notes only — not an approval, and I have not pushed anything to this branch.
Edited to fix section 3: the intermediate release is v0.38.25, not v0.38.24 (that tag exists but was skipped, and the in-repo changelog heading still says v0.38.24), and the vote-extension signature validation was missing from the list.
…6 for all modules Signed-off-by: srdtrk <srdtrk@hotmail.com>
|
🤖 Gnut (automated assistant posting on behalf of srdtrk) Pushed What it does. Method — tidy only. I ran Verified locally on Go 1.23.12: tidy is idempotent, Two things this commit does not address, both from my earlier review, both still needing a human:
One consequence worth knowing: pushing by hand takes this PR out of dependabot's hands. It won't rebase without an explicit |
Bumps github.com/cometbft/cometbft from 0.38.23 to 0.38.26.
Release notes
Sourced from github.com/cometbft/cometbft's releases.
Changelog
Sourced from github.com/cometbft/cometbft's changelog.
Commits
94d77f9chore: Bump version (#6029)5e80022Bump version12be560feat: Backport mldsa verification (#6028)20561a7Fix lint, test774d261Remove unnecessary changelog lines25c6d57Backport mldsa verification330d3bbchore: update changelog (#6006)e9ffcb9fix(blocksync): tolerate late BlockResponse from honest peers after switching...7cd4427fix(consensus): release cs.mtx before sending to statsMsgQueue (backport #581...5adf46cfix(consensus): correct loop condition in checkDoubleSigningRisk for height=1...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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)