This release introduces bug fixes and improvements. Notably, the upgrade to Tendermint v0.34.24.
Please read the release notes of v0.46.5 if you are upgrading from <=0.46.4.
A critical vulnerability has been fixed in the group module. For safety, v0.46.5 and v0.46.6 are retracted, even though chains not using the group module are not affected. When using the group module, please upgrade immediately to v0.46.7.
An issue has been discovered in the gov module's votes migration. It does not impact proposals and votes tallying, but the gRPC queries on votes are incorrect. This issue is fixed in v0.46.7, however:
if your chain is already on v0.46 using <= v0.46.6, a coordinated upgrade to v0.46.7 is required. You can use the helper function govv046.Migrate_V046_6_To_V046_7 for migrating a chain already on v0.46 with versions <=v0.46.6 to the latest v0.46.7 correct state.
if your chain is on a previous version <= v0.45, then simply use v0.46.7 when upgrading to v0.46.
NOTE: The changes mentioned in v0.46.3 are no longer required. The following replace directive can be removed from the chains.
# Can be deleted from go.mod
replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
Instead, github.com/confio/ics23/go must be bumped to v0.9.0.
Please see the CHANGELOG for an exhaustive list of changes.
NOTE: The changes mentioned in v0.46.3 are still required:
# Chains must add the following to their go.mod for the application:
replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
v0.46.5
Cosmos SDK v0.46.5 Release Notes
This release introduces a number of serious bug fixes and improvements. Notably, an upgrade to Tendermint v0.34.23.
If you are planning to migrate to v0.46, please use v0.46.5. All releases prior to v0.46.5 are retracted and must NOT be used (go get directly upgrades the SDK version to >= v0.46.5 thanks to the retraction, current builds are not affected).
#14175 Add server.DefaultBaseappOptions(appopts) function to reduce boiler plate in root.go.
State Machine Breaking
(x/gov) #14214 Fix gov v0.46 migration to v1 votes.
Also provide a helper function govv046.Migrate_V0466_To_V0467 for migrating a chain already on v0.46 with versions <=v0.46.6 to the latest v0.46.7 correct state.
(x/group) #14071 Don't re-tally proposal after voting period end if they have been marked as ACCEPTED or REJECTED.
Move ListeningEnabled and AddListener methods to CommitMultiStore
Remove CacheWrapWithListeners from CacheWrap and CacheWrapper interfaces
Remove listening APIs from the caching layer (it should only listen to the rootmulti.Store)
Add three new options to file streaming service constructor.
Modify ABCIListener such that any error from any method will always halt the app via panic
(store) #13529 Add method LatestVersion to MultiStore interface, add method SetQueryMultiStore to baesapp to support alternative MultiStore implementation for query service.
Bug Fixes
(baseapp) #13983 Don't emit duplicate ante-handler events when a post-handler is defined.
(baseapp) #14049 Fix state sync when interval is zero.
(store) #13516 Fix state listener that was observing writes at wrong time.
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 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)
Bumps github.com/cosmos/cosmos-sdk from 0.45.9 to 0.46.7.
Release notes
Sourced from github.com/cosmos/cosmos-sdk's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/cosmos-sdk's changelog.
... (truncated)
Commits
f71df80
fix(gov): Fix v3 votes migrations (backport #14214) (#14277)4153b12
chore: prepare 0.46.7 release (#14103)79ac73d
fix: fix grpc flag conflict (backport #14244) (#14248)fcfa361
chore: audit store/streaming/file/service.go (backport #14234) (#14241)eb6d0ef
refactor: cleanup store/streaming/constructor.go (backport #14044) (#14236)463f4e4
feat: add --grpc client option (backport #14051) (#14192)45d2f08
refactor: provide a helper for baseapp options (backport #14175) (#14178)cc06bce
fix: state listener observe writes at wrong time (backport #13516) (#14138)a627446
feat: support alternative query multistore (backport #13529) (#14169)ff27cd3
fix: remove duplicate ante events (backport #13983) (#14142)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 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)