This release contains a few bug fixes and performance improvements.
BREAKING CHANGES
[mempool] Add to the Mempool interface a new method PreUpdate(). This method should be
called before acquiring the mempool lock, to signal that a new update is coming. Also add to
ErrMempoolIsFull a new field RecheckFull.
(#3314)
BUG FIXES
[mempool] Fix data race when rechecking with async ABCI client
(#1827)
[consensus] Fix a race condition in the consensus timeout ticker. Race is caused by two timeouts being scheduled at the same time.
(#3092)
[types] Do not batch verify a commit if the validator set keys have different
types. (#3195
IMPROVEMENTS
[blockstore] Added peer banning in blockstore
(#ABC-0013)
[blockstore] Send correct error message when vote extensions do not align with received packet
(#ABC-0014)
[config] Added recheck_timeout mempool parameter to set how much time to wait for recheck
responses from the app (only applies to non-local ABCI clients).
(#1827)
[rpc] Add a configurable maximum batch size for RPC requests.
(#2867).
[event-bus] Remove the debug logs in PublishEventTx, which were noticed production slowdowns.
(#2911)
[state/execution] Cache the block hash computation inside of the Block Type, so we only compute it once.
(#2924)
[consensus/state] Remove a redundant VerifyBlock call in FinalizeCommit
(#2928)
[p2p/channel] Speedup ProtoIO writer creation time, and thereby speedup channel writing by 5%.
(#2949)
[p2p/conn] Minor speedup (3%) to connection.WritePacketMsgTo, by removing MinInt calls.
(#2952)
[internal/bits] 10x speedup creating initialized bitArrays, which speedsup extendedCommit.BitArray(). This is used in consensus vote gossip.
(#2959).
[blockstore] Remove a redundant Header.ValidateBasic call in LoadBlockMeta, 75% reducing this time.
(#2964)
[p2p/conn] Speedup connection.WritePacketMsgTo, by reusing internal buffers rather than re-allocating.
(#2986)
[blockstore] Use LRU caches in blockstore, significiantly improving consensus gossip routine performance
Allow to provide custom signers for x/auth/tx using depinject
We recommended to upgrade to this patch release as soon as possible.
When upgrading from <= v0.50.4, please ensure that 2/3 of the validator power upgrade to v0.50.5.
📝 Changelog
Check out the changelog for an exhaustive list of changes, or compare changes from the last release.
Refer to the upgrading guide when migrating from v0.47.x to v0.50.1.
Note, that the next SDK release, v0.51, will not include x/params migration, when migrating from < v0.47, v0.50.x or v0.47.x, is a mandatory migration.
Some months ago Cosmos SDK Eden was released. Missed the announcement? Read it here.
For this month patch release of the v0.50.x line, a few features and improvements were added to the SDK.
Notably, we added and fixed the following:
Adds in-place testnet CLI command for creating testnets from local state (kudos to @czarcas7ic)
Multiple fixes in baseapp, with fixes in DefaultProposalHandler and vote extensions
We recommended to upgrade to this patch release as soon as possible.
When upgrading from <= v0.50.3, please ensure that 2/3 of the validator power upgrade to v0.50.4.
📝 Changelog
Check out the changelog for an exhaustive list of changes, or compare changes from the last release.
Refer to the upgrading guide when migrating from v0.47.x to v0.50.1.
Note, that the next SDK release, v0.51.0, will not include x/params migration, when migrating from < v0.47, v0.50.x or v0.47.x, is a mandatory migration.
(baseapp) #19626 Add DisableBlockGasMeter option to BaseApp, which removes the block gas meter during transaction execution.
Improvements
(x/distribution) #19707 Add autocli config for DelegationTotalRewards for CLI consistency with q rewards commands in previous versions.
(x/auth) #19651 Allow empty public keys in GetSignBytesAdapter.
Bug Fixes
(x/gov) #19725 Fetch a failed proposal tally from proposal.FinalTallyResult in the gprc query.
(types) #19709 Fix skip staking genesis export when using CoreAppModuleAdaptor / CoreAppModuleBasicAdaptor for it.
(x/auth) #19549 Accept custom get signers when injecting x/auth/tx.
(x/staking) Fix a possible bypass of delegator slashing: GHSA-86h5-xcpx-cfqc
(baseapp) Fix a bug in baseapp.ValidateVoteExtensions helper (GHSA-95rx-m9m5-m94v). The helper has been fixed and for avoiding API breaking changes currentHeight and chainID arguments are ignored. Those arguments are removed from the helper in v0.51+.
(client) #19393 Add ReadDefaultValuesFromDefaultClientConfig to populate the default values from the default client config in client.Context without creating a app folder.
Bug Fixes
(x/auth/vesting) GHSA-4j93-fm92-rp4m Add BlockedAddr check in CreatePeriodicVestingAccount.
(baseapp) #19338 Set HeaderInfo in context when calling setState.
(baseapp): #19200 Ensure that sdk side ve math matches cometbft.
#19106 Allow empty public keys when setting signatures. Public keys aren't needed for every transaction.
(baseapp) #19198 Remove usage of pointers in logs in all optimistic execution goroutines.
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.50.5 and ibc-go v8.2.0, please follow:
5th April 2024: This release is NOT recommended since it is impacted by the ASA-2024-007 security advisory. Please use version >= 8.2.0.
This release only adds the proto files for the 08-wasm module, so that this release can be imported in ibc-proto-rs. See #5988 for more details.
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.50.3 and ibc-go v8.1.1, please follow:
This release contains a few bug fixes and performance improvements.
BREAKING CHANGES
[mempool] Add to the Mempool interface a new method PreUpdate(). This method should be
called before acquiring the mempool lock, to signal that a new update is coming. Also add to
ErrMempoolIsFull a new field RecheckFull.
(#3314)
BUG FIXES
[mempool] Fix data race when rechecking with async ABCI client
(#1827)
[consensus] Fix a race condition in the consensus timeout ticker. Race is caused by two timeouts being scheduled at the same time.
(#3092)
[types] Do not batch verify a commit if the validator set keys have different
types. (#3195
IMPROVEMENTS
[blockstore] Added peer banning in blockstore
(#ABC-0013)
[blockstore] Send correct error message when vote extensions do not align with received packet
(#ABC-0014)
[config] Added recheck_timeout mempool parameter to set how much time to wait for recheck
responses from the app (only applies to non-local ABCI clients).
(#1827)
[rpc] Add a configurable maximum batch size for RPC requests.
(#2867).
[event-bus] Remove the debug logs in PublishEventTx, which were noticed production slowdowns.
(#2911)
[state/execution] Cache the block hash computation inside of the Block Type, so we only compute it once.
(#2924)
[consensus/state] Remove a redundant VerifyBlock call in FinalizeCommit
(#2928)
[p2p/channel] Speedup ProtoIO writer creation time, and thereby speedup channel writing by 5%.
(#2949)
[p2p/conn] Minor speedup (3%) to connection.WritePacketMsgTo, by removing MinInt calls.
(#2952)
[internal/bits] 10x speedup creating initialized bitArrays, which speedsup extendedCommit.BitArray(). This is used in consensus vote gossip.
(#2959).
[blockstore] Remove a redundant Header.ValidateBasic call in LoadBlockMeta, 75% reducing this time.
(#2964)
[p2p/conn] Speedup connection.WritePacketMsgTo, by reusing internal buffers rather than re-allocating.
(#2986)
[blockstore] Use LRU caches in blockstore, significiantly improving consensus gossip routine performance
Allow to provide custom signers for x/auth/tx using depinject
We recommended to upgrade to this patch release as soon as possible.
When upgrading from <= v0.50.4, please ensure that 2/3 of the validator power upgrade to v0.50.5.
📝 Changelog
Check out the changelog for an exhaustive list of changes, or compare changes from the last release.
Refer to the upgrading guide when migrating from v0.47.x to v0.50.1.
Note, that the next SDK release, v0.51, will not include x/params migration, when migrating from < v0.47, v0.50.x or v0.47.x, is a mandatory migration.
Some months ago Cosmos SDK Eden was released. Missed the announcement? Read it here.
For this month patch release of the v0.50.x line, a few features and improvements were added to the SDK.
Notably, we added and fixed the following:
Adds in-place testnet CLI command for creating testnets from local state (kudos to @czarcas7ic)
Multiple fixes in baseapp, with fixes in DefaultProposalHandler and vote extensions
We recommended to upgrade to this patch release as soon as possible.
When upgrading from <= v0.50.3, please ensure that 2/3 of the validator power upgrade to v0.50.4.
📝 Changelog
Check out the changelog for an exhaustive list of changes, or compare changes from the last release.
Refer to the upgrading guide when migrating from v0.47.x to v0.50.1.
Note, that the next SDK release, v0.51.0, will not include x/params migration, when migrating from < v0.47, v0.50.x or v0.47.x, is a mandatory migration.
(baseapp) #19626 Add DisableBlockGasMeter option to BaseApp, which removes the block gas meter during transaction execution.
Improvements
(x/distribution) #19707 Add autocli config for DelegationTotalRewards for CLI consistency with q rewards commands in previous versions.
(x/auth) #19651 Allow empty public keys in GetSignBytesAdapter.
Bug Fixes
(x/gov) #19725 Fetch a failed proposal tally from proposal.FinalTallyResult in the gprc query.
(types) #19709 Fix skip staking genesis export when using CoreAppModuleAdaptor / CoreAppModuleBasicAdaptor for it.
(x/auth) #19549 Accept custom get signers when injecting x/auth/tx.
(x/staking) Fix a possible bypass of delegator slashing: GHSA-86h5-xcpx-cfqc
(baseapp) Fix a bug in baseapp.ValidateVoteExtensions helper (GHSA-95rx-m9m5-m94v). The helper has been fixed and for avoiding API breaking changes currentHeight and chainID arguments are ignored. Those arguments are removed from the helper in v0.51+.
(client) #19393 Add ReadDefaultValuesFromDefaultClientConfig to populate the default values from the default client config in client.Context without creating a app folder.
Bug Fixes
(x/auth/vesting) GHSA-4j93-fm92-rp4m Add BlockedAddr check in CreatePeriodicVestingAccount.
(baseapp) #19338 Set HeaderInfo in context when calling setState.
(baseapp): #19200 Ensure that sdk side ve math matches cometbft.
#19106 Allow empty public keys when setting signatures. Public keys aren't needed for every transaction.
(baseapp) #19198 Remove usage of pointers in logs in all optimistic execution goroutines.
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.50.5 and ibc-go v8.2.0, please follow:
5th April 2024: This release is NOT recommended since it is impacted by the ASA-2024-007 security advisory. Please use version >= 8.2.0.
This release only adds the proto files for the 08-wasm module, so that this release can be imported in ibc-proto-rs. See #5988 for more details.
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.50.3 and ibc-go v8.1.1, please follow:
For more information about the security issues addressed in this release, and the unaddressed vulnerabilities in BuildKit, refer to the
blog post. For details about each vulnerability, see the relevant security advisory:
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 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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's m...
_Description has been truncated_
Bumps the go_modules group with 4 updates in the / directory: github.com/cometbft/cometbft, github.com/cosmos/cosmos-sdk, github.com/cosmos/ibc-go/v8 and github.com/hashicorp/go-getter. Bumps the go_modules group with 5 updates in the /interchaintest directory:
0.38.6
0.38.8
0.50.4
0.50.5
8.1.0
8.2.0
1.7.3
1.7.5
24.0.7+incompatible
24.0.9+incompatible
Updates
github.com/cometbft/cometbft
from 0.38.6 to 0.38.8Release notes
Sourced from github.com/cometbft/cometbft's releases.
Changelog
Sourced from github.com/cometbft/cometbft's changelog.
... (truncated)
Commits
6959205
Release/v0.38.8 (#3350)8ba2e4f
Merge pull request from GHSA-hg58-rf2h-6rr70a89ec1
Update blocksync/pool_test.go065810c
Readded good peer to test007efd7
Removed defers from test4199f27
Remove one thread to make test more compact8a473ca
Update blocksync/pool_test.go872210c
Update blocksync/pool_test.go4cb0df8
Update blocksync/pool_test.go26bda8b
Test assertions have more detailUpdates
github.com/cosmos/cosmos-sdk
from 0.50.3 to 0.50.5Release notes
Sourced from github.com/cosmos/cosmos-sdk's releases.
Changelog
Sourced from github.com/cosmos/cosmos-sdk's changelog.
Commits
a321866
chore: prepare v0.50.5 (#19715)a877c47
fix(x/gov): grpc query tally for failed proposal (backport #19725) (#19727)c382225
feat(x/distribution): add rewards-by-validator autocli config (backport #1970...f055cde
feat(baseapp): add option to disable block gas meter (#19626)4467110
Merge pull request from GHSA-95rx-m9m5-m94v6689e36
build(deps): Bump deps (backport #19655) (#19711)3382e8e
fix(types): check for HasABCIGenesis in CoreAppModuleBasicAdaptor (#19709)f9041cd
refactor(x/auth): allow empty public keys for GetSignBytesAdapter (backport #...2abd2ec
feat(client/v2): marshal enum as string (#19653)09a49fe
build(deps): Bump cosmossdk.io/x/tx from 0.13.0 to 0.13.1 (#19665)Updates
github.com/cosmos/ibc-go/v8
from 8.1.0 to 8.2.0Release notes
Sourced from github.com/cosmos/ibc-go/v8's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/ibc-go/v8's changelog.
Commits
a2f3d7a
update changelog before v8.2.05e2e9eb
Merge pull request from GHSA-j496-crgh-34mx3800f0e
Update CHANGELOG.md92a91f2
deps: bump SDK v50.5 (backport #5975) (#5999)fae72e3
add wasm protos torelease/v8.2.x
(#5987)a96bf50
imp: add flat fee for queries toVerifyMembership
(#5927) (#5969)ba69bd4
imp: deny selected client types from VerifyMembership rpc (#5871) (#5877)6b8f602
chore: add client status check to verify membership rpc (#5870) (#5874)9d96415
feat: add rpcVerifyMembershipProof
- querier approach for conditional clie...dc509e6
feat: add NewErrorAcknowledgementWithCodespace to allow codespaces in ack err...Updates
github.com/hashicorp/go-getter
from 1.7.3 to 1.7.5Release notes
Sourced from github.com/hashicorp/go-getter's releases.
Commits
5a63fd9
Merge pull request #497 from hashicorp/fix-git-update5b7ec5f
fetch tags on update and fix tests9906874
recreate git config during update to prevent config alteration268c11c
escape user provide string to git (#483)975961f
Merge pull request #433 from adrian-bl/netrc-fix5ccb39a
Make addAuthFromNetrc ignore ENOTDIR errorsUpdates
github.com/cometbft/cometbft
from 0.38.6 to 0.38.8Release notes
Sourced from github.com/cometbft/cometbft's releases.
Changelog
Sourced from github.com/cometbft/cometbft's changelog.
... (truncated)
Commits
6959205
Release/v0.38.8 (#3350)8ba2e4f
Merge pull request from GHSA-hg58-rf2h-6rr70a89ec1
Update blocksync/pool_test.go065810c
Readded good peer to test007efd7
Removed defers from test4199f27
Remove one thread to make test more compact8a473ca
Update blocksync/pool_test.go872210c
Update blocksync/pool_test.go4cb0df8
Update blocksync/pool_test.go26bda8b
Test assertions have more detailUpdates
github.com/cosmos/cosmos-sdk
from 0.50.4 to 0.50.5Release notes
Sourced from github.com/cosmos/cosmos-sdk's releases.
Changelog
Sourced from github.com/cosmos/cosmos-sdk's changelog.
Commits
a321866
chore: prepare v0.50.5 (#19715)a877c47
fix(x/gov): grpc query tally for failed proposal (backport #19725) (#19727)c382225
feat(x/distribution): add rewards-by-validator autocli config (backport #1970...f055cde
feat(baseapp): add option to disable block gas meter (#19626)4467110
Merge pull request from GHSA-95rx-m9m5-m94v6689e36
build(deps): Bump deps (backport #19655) (#19711)3382e8e
fix(types): check for HasABCIGenesis in CoreAppModuleBasicAdaptor (#19709)f9041cd
refactor(x/auth): allow empty public keys for GetSignBytesAdapter (backport #...2abd2ec
feat(client/v2): marshal enum as string (#19653)09a49fe
build(deps): Bump cosmossdk.io/x/tx from 0.13.0 to 0.13.1 (#19665)Updates
github.com/cosmos/ibc-go/v8
from 8.1.0 to 8.2.0Release notes
Sourced from github.com/cosmos/ibc-go/v8's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/ibc-go/v8's changelog.
Commits
a2f3d7a
update changelog before v8.2.05e2e9eb
Merge pull request from GHSA-j496-crgh-34mx3800f0e
Update CHANGELOG.md92a91f2
deps: bump SDK v50.5 (backport #5975) (#5999)fae72e3
add wasm protos torelease/v8.2.x
(#5987)a96bf50
imp: add flat fee for queries toVerifyMembership
(#5927) (#5969)ba69bd4
imp: deny selected client types from VerifyMembership rpc (#5871) (#5877)6b8f602
chore: add client status check to verify membership rpc (#5870) (#5874)9d96415
feat: add rpcVerifyMembershipProof
- querier approach for conditional clie...dc509e6
feat: add NewErrorAcknowledgementWithCodespace to allow codespaces in ack err...Updates
github.com/hashicorp/go-getter
from 1.7.3 to 1.7.5Release notes
Sourced from github.com/hashicorp/go-getter's releases.
Commits
5a63fd9
Merge pull request #497 from hashicorp/fix-git-update5b7ec5f
fetch tags on update and fix tests9906874
recreate git config during update to prevent config alteration268c11c
escape user provide string to git (#483)975961f
Merge pull request #433 from adrian-bl/netrc-fix5ccb39a
Make addAuthFromNetrc ignore ENOTDIR errorsUpdates
github.com/docker/docker
from 24.0.7+incompatible to 24.0.9+incompatibleRelease notes
Sourced from github.com/docker/docker's releases.
... (truncated)
Commits
fca702d
Merge pull request from GHSA-xw73-rw38-6vjcf78a772
Merge pull request #47281 from thaJeztah/24.0_backport_bump_containerd_binary...61afffe
Merge pull request #47270 from thaJeztah/24.0_backport_bump_runc_binary_1.1.12b38e74c
Merge pull request #47276 from thaJeztah/24.0_backport_bump_runc_1.1.12dac5663
update containerd binary to v1.7.1320e1af3
vendor: github.com/opencontainers/runc v1.1.12858919d
update runc binary to v1.1.12141ad39
Merge pull request #47266 from vvoland/ci-fix-makeps1-templatefail-24db968c6
hack/make.ps1: Fix go list pattern61c51fb
Merge pull request #47221 from vvoland/pkg-pools-close-noop-24Dependabot 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 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