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:
Add start customizability to start command options. Customize how an application starts with the new StartCommandHandler field in server.StartCmdOptions struct.
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.
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.
(types) #19759 Align SignerExtractionAdapter in PriorityNonceMempool Remove.
(client) #19870 Add new query command wait-tx. Alias event-query-tx-for to wait-tx for backward compatibility.
Improvements
(telemetry) #19903 Conditionally emit metrics based on enablement.
Introduction of Now Function: Added a new function called Now to the telemetry package. It returns the current system time if telemetry is enabled, or a zero time if telemetry is not enabled.
Atomic Global Variable: Implemented an atomic global variable to manage the state of telemetry's enablement. This ensures thread safety for the telemetry state.
Conditional Telemetry Emission: All telemetry functions have been updated to emit metrics only when telemetry is enabled. They perform a check with isTelemetryEnabled() and return early if telemetry is disabled, minimizing unnecessary operations and overhead.
(deps) #19810 Upgrade prometheus version and fix API breaking change due to prometheus bump.
(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+.
You can trigger a rebase of this PR 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 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps github.com/cosmos/cosmos-sdk from 0.47.10 to 0.50.6.
Release notes
Sourced from github.com/cosmos/cosmos-sdk's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/cosmos-sdk's changelog.
... (truncated)
Commits
c4d9a49
chore: update v0.50.6 release notes (#20124)fcb9d84
fix(x/authz,x/feegrant): check blocked address (#20102)0a682f7
fix: use timestamp for sim log file name (backport #20108) (#20111)4bd0e02
chore: prepare v0.50.6 (#19998)2a32f42
feat(client/v2): implement version filtering using annotation (backport #2008...a2abf1a
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.4 to 1.0.0-b...49c3ae6
fix: secp256r1 json missing quotes (backport #20060) (#20069)9941498
fix(baseapp): don't share global gas meter in tx execution (backport #19616) ...dafcc78
feat(x/bank): support depinject for send restrictions (backport #20014) (#20024)d6a0fa1
build(deps): Bump cosmossdk.io/x/tx from 0.13.1 to 0.13.2 (#20042)You can trigger a rebase of this PR 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