Skip to content

Commit a321866

Browse files
authored
chore: prepare v0.50.5 (#19715)
1 parent a877c47 commit a321866

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,15 @@ Ref: https://keepachangelog.com/en/1.0.0/
3838

3939
## [Unreleased]
4040

41-
## [v0.50.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.5) - 2024-XX-XX
41+
## [v0.50.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.5) - 2024-03-12
4242

4343
### Features
4444

45-
* (baseapp) [#19626](https://github.com/cosmos/cosmos-sdk/pull/19626) Adds `DisableBlockGasMeter` option to `BaseApp`, which removes the block gas meter during transaction execution.
45+
* (baseapp) [#19626](https://github.com/cosmos/cosmos-sdk/pull/19626) Add `DisableBlockGasMeter` option to `BaseApp`, which removes the block gas meter during transaction execution.
4646

4747
### Improvements
4848

49+
* (x/distribution) [#19707](https://github.com/cosmos/cosmos-sdk/pull/19707) Add autocli config for `DelegationTotalRewards` for CLI consistency with `q rewards` commands in previous versions.
4950
* (x/auth) [#19651](https://github.com/cosmos/cosmos-sdk/pull/19651) Allow empty public keys in `GetSignBytesAdapter`.
5051

5152
### Bug Fixes
@@ -54,6 +55,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
5455
* (types) [#19709](https://github.com/cosmos/cosmos-sdk/pull/19709) Fix skip staking genesis export when using `CoreAppModuleAdaptor` / `CoreAppModuleBasicAdaptor` for it.
5556
* (x/auth) [#19549](https://github.com/cosmos/cosmos-sdk/pull/19549) Accept custom get signers when injecting `x/auth/tx`.
5657
* (x/staking) Fix a possible bypass of delegator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
58+
* (baseapp) Fix a bug in `baseapp.ValidateVoteExtensions` helper ([GHSA-95rx-m9m5-m94v](https://github.com/cosmos/cosmos-sdk/security/advisories/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+.
5759

5860
## [v0.50.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.4) - 2024-02-19
5961

RELEASE_NOTES.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@
44

55
## 🚀 Highlights
66

7-
While early in our monthly release cadence, this release includes a few notable fixes:
7+
This is time for another patch release of Cosmos SDK Eden.
8+
This release includes a few notable fixes:
89

9-
* Fix a bypass delagator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
10+
* Fix a bypass delegator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
11+
* Fix an issue in `baseapp.ValidateVoteExtensions` helper: [GHSA-95rx-m9m5-m94v](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-95rx-m9m5-m94v)
1012
* Allow to provide custom signers for `x/auth/tx` using depinject
1113

1214
We recommended to upgrade to this patch release as soon as possible.
13-
When upgrading from <= v0.50.3, please ensure that 2/3 of the validator power upgrade to v0.50.4.
15+
When upgrading from <= v0.50.4, please ensure that 2/3 of the validator power upgrade to v0.50.5.
1416

1517
## 📝 Changelog
1618

1719
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.50.5/CHANGELOG.md) for an exhaustive list of changes, or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/release/v0.50.4...v0.50.5) from the last release.
1820

1921
Refer to the [upgrading guide](https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/UPGRADING.md) when migrating from `v0.47.x` to `v0.50.1`.
20-
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.
22+
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.

baseapp/abci_utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ type (
3939
// a proposer in PrepareProposal. It returns an error if any signature is invalid
4040
// or if unexpected vote extensions and/or signatures are found or less than 2/3
4141
// power is received.
42+
// NOTE: From v0.50.5 `currentHeight` and `chainID` arguments are ignored for fixing an issue.
43+
// They will be removed from the function in v0.51+.
4244
func ValidateVoteExtensions(
4345
ctx sdk.Context,
4446
valStore ValidatorStore,

baseapp/info.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import (
88
"cosmossdk.io/core/comet"
99
)
1010

11-
var _ comet.BlockInfo = (*cometInfo)(nil)
12-
11+
// NewBlockInfo returns a new BlockInfo instance
12+
// This function should be only used in tests
1313
func NewBlockInfo(
1414
misbehavior []abci.Misbehavior,
1515
validatorsHash []byte,
1616
proposerAddress []byte,
1717
lastCommit abci.CommitInfo,
18-
) *cometInfo {
18+
) comet.BlockInfo {
1919
return &cometInfo{
2020
Misbehavior: misbehavior,
2121
ValidatorsHash: validatorsHash,

0 commit comments

Comments
 (0)