Modules params are now handled directly by the modules themselves, via the MsgUpdateParams message.
All core SDK modules have migrated away from using x/params. It is recommended to migrate your custom modules as well.
Migration from gogo/protobuf to cosmos/gogoproto.
The SDK was using the now unmaintained gogo/protobuf library. This has been replaced by cosmos/gogoproto which is a fork of gogo/protobuf with some improvements and fixes, that is maintained by the Cosmos SDK team.
This change is not transparent for applications developers. All proto files should be regenerated with the new library.
Use the ghcr.io/cosmos/proto-builder image (version >= 0.11.5) for generating protobuf files.
App Wiring with dependency injection.
App Wiring is ready for community feedback. It allows developers to build a chain with less boilerplate by removing the need to manually wire a chain.
Community feedback will be implemented in the following releases which can lead to API breakage (runtime and depinject are pre-1.0).
Manually wiring an application is still possible and will always remain supported.
(x/gov) #15151 Add burn_vote_quorum, burn_proposal_deposit_prevote and burn_vote_veto params to allow applications to decide if they would like to burn deposits
(x/genutil) #14149 Add genutilcli.GenesisCoreCommand command, which contains all genesis-related sub-commands.
(x/evidence) #13740 Add new proto field hash of type string to QueryEvidenceRequest which helps to decode the hash properly while using query API.
(core) #13306 Add a FormatCoins function to in core/coins to format sdk Coins following the Value Renderers spec.
(math) #13306 Add FormatInt and FormatDec functiosn in math to format integers and decimals following the Value Renderers spec.
(x/staking) #13122 Add UnbondingCanComplete and PutUnbondingOnHold to x/staking module.
#13437 Add new flag --modules-to-export in simd export command to export only selected modules.
#13298 Add AddGenesisAccount helper func in x/auth module which helps adding accounts to genesis state.
(x/authz) #12648 Add an allow list, an optional list of addresses allowed to receive bank assets via authz MsgSend grant.
(sdk.Coins) #12627 Make a Denoms method on sdk.Coins.
(testutil) #12973 Add generic testutil.RandSliceElem function which selects a random element from the list.
(client) #12936 Add capability to preprocess transactions before broadcasting from a higher level chain.
(cli) #13064 Add debug prefixes to list supported HRP prefixes via .
(ledger) #12935 Generalize Ledger integration to allow for different apps or keytypes that use SECP256k1.
(x/bank) #11981 Create the SetSendEnabled endpoint for managing the bank's SendEnabled settings.
(x/auth) #13210 Add Query/AccountInfo endpoint for simplified access to basic account info.
(x/consensus) #12905 Create a new x/consensus module that is now responsible for maintaining Tendermint consensus parameters instead of x/param. Legacy types remain in order to facilitate parameter migration from the deprecated x/params. App developers should ensure that they execute baseapp.MigrateParams during their chain upgrade. These legacy types will be removed in a future release.
(client/tx) #13670 Add validation in BuildUnsignedTx to prevent simple inclusion of valid mnemonics
(store) #14931 Exclude in-memory KVStores, i.e. StoreTypeMemory, from CommitInfo commitments.
(cli) #14919 Fix never assigned error when write validators.
(x/group) #14923 Fix error while using pagination in x/group from CLI.
(types/coin) #14715sdk.Coins.Add now returns an empty set of coins sdk.Coins{} if both coins set are empty.
This is a behavior change, as previously sdk.Coins.Add would return nil in this case.
(reflection) #14838 We now require that all proto files' import path (i.e. the OS path) matches their fully-qualified package name. For example, proto files with package name cosmos.my.pkg.v1 should live in the folder cosmos/my/pkg/v1/*.proto relatively to the protoc import root folder (usually the root proto/ folder).
(baseapp) #14505 PrepareProposal and ProcessProposal now use deliverState for the first block in order to access changes made in InitChain.
(x/group) #14527 Fix wrong address set in EventUpdateGroupPolicy.
(cli) #14509 Added missing options to keyring-backend flag usage.
(server) #14441 Fix --log_format flag not working.
(ante) #14448 Return anteEvents when postHandler fail.
(baseapp) #13983 Don't emit duplicate ante-handler events when a post-handler is defined.
(x/staking) #14064 Set all fields in redelegation.String().
(x/upgrade) #13936 Make downgrade verification work again.
(x/group) #13742 Fix validate-genesis when group policy accounts exist.
(store) #13516 Fix state listener that was observing writes at wrong time.
(simstestutil) #15305 Add AppStateFnWithExtendedCb with callback function to extend rawState.
(simapp) #14977 Move simulation helpers functions (AppStateFn and AppStateRandomizedFn) to testutil/sims. These takes an extra genesisState argument which is the default state of the app.
(cli) #14953 Enable profiling block replay during abci handshake with --cpu-profile.
(store) #14410rootmulti.Store.loadVersion has validation to check if all the module stores' height is correct, it will error if any module store has incorrect height.
... (truncated)
Commits
9acdbb9 build(deps): Bump github.com/cosmos/iavl from 0.20.0-alpha4 to 0.20.0 (#15388)
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.14 to 0.47.0.
Release notes
Sourced from github.com/cosmos/cosmos-sdk's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/cosmos-sdk's changelog.
... (truncated)
Commits
9acdbb9
build(deps): Bump github.com/cosmos/iavl from 0.20.0-alpha4 to 0.20.0 (#15388)b63e55b
docs: fix ordering (backport #15387) (#15389)5d41589
docs: create autocli documentation (backport #15353) (#15386)0b276c1
test: regression test on VotingPeriodProposalKey deletion (backport #15368) (...7106134
fix: add extra check in vesting (backport #15373) (#15382)3e6bf5c
chore: prepare v0.47.0 release notes (#15374)828794e
fix: remove previous header in Prepare/Process Proposal + provide chain id in...f3f4532
build(deps): Bump cosmossdk.io/math from 1.0.0-beta.6 to 1.0.0-rc.0 (#15376)201256f
fix: delete VotingPeriodProposalKey when deleting proposal (backport #15356) ...57a0e02
chore: clarify some part in UPGRADING.md (backport #15345) (#15350)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)