Skip to content

Commit 058c920

Browse files
randy-crothomas-nguy
authored andcommitted
normalize cache validator queue key to be UTC (#1730)
1 parent 0deff62 commit 058c920

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
4040

4141
### Features
4242

43+
* (x/staking) [#1730](https://github.com/crypto-org-chain/cosmos-sdk/pull/1730) Normalize cache validator queue key to be UTC.
4344
* (x/staking) [#22795](https://github.com/crypto-org-chain/cosmos-sdk/pull/1725) Optimize staking endblocker execution by caching queue entries from iterators.
4445
* (baseapp) [#205](https://github.com/crypto-org-chain/cosmos-sdk/pull/205) Add `TxExecutor` baseapp option, add `TxIndex`/`TxCount`/`MsgIndex`/`BlockGasUsed` fields to `Context, to support tx parallel execution.
4546
* (baseapp) [#206](https://github.com/crypto-org-chain/cosmos-sdk/pull/206) Support mount object store in baseapp, add `ObjectStore` api in context, [#585](https://github.com/crypto-org-chain/cosmos-sdk/pull/585) Skip snapshot for object store.
@@ -64,6 +65,15 @@ Ref: https://keepachangelog.com/en/1.0.0/
6465

6566
* (x/auth) [#23741](https://github.com/cosmos/cosmos-sdk/pull/23741) Support legacy global AccountNumber.
6667

68+
## [v0.50.14](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.14) - 2025-07-08
69+
70+
### Bug Fixes
71+
72+
* [GHSA-p22h-3m2v-cmgh](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-p22h-3m2v-cmgh) Fix x/distribution can halt when historical rewards overflow.
73+
### Bug Fixes
74+
75+
* (x/auth) [#23741](https://github.com/cosmos/cosmos-sdk/pull/23741) Support legacy global AccountNumber.
76+
6777
## [v0.50.13](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.13) - 2025-03-12
6878

6979
### Bug Fixes

x/staking/types/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func GetValidatorQueueKey(timestamp time.Time, height int64) []byte {
193193

194194
// GetCacheValidatorQueueKey returns a key for the cache for unbonding validators for a given time and height.
195195
func GetCacheValidatorQueueKey(time time.Time, height int64) string {
196-
return fmt.Sprintf("%s/%d", time.Format(sdk.SortableTimeFormat), height)
196+
return fmt.Sprintf("%s/%d", time.UTC().Format(sdk.SortableTimeFormat), height)
197197
}
198198

199199
// ParseCacheValidatorQueueKey parses a key for the cache for unbonding validators for a given time and height.

0 commit comments

Comments
 (0)