From a6122fba0cfa780f38387b051e93c3ea0d038c98 Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Mon, 22 Jan 2024 14:51:38 +0800 Subject: [PATCH 1/2] fix: module consensus version is not correctly set when upgrade after state sync (#391) --- x/upgrade/keeper/keeper.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x/upgrade/keeper/keeper.go b/x/upgrade/keeper/keeper.go index e4aa18f03b..ed2c7cdf79 100644 --- a/x/upgrade/keeper/keeper.go +++ b/x/upgrade/keeper/keeper.go @@ -324,6 +324,12 @@ func (k Keeper) HasHandler(name string) bool { // ApplyUpgrade will execute the handler associated with the Plan and mark the plan as done. func (k Keeper) ApplyUpgrade(ctx sdk.Context, plan types.Plan) { + err := k.InitUpgraded(ctx) + if err != nil { + ctx.Logger().Error("failed to init upgraded", "err", err) + return + } + initializer := k.upgradeInitializer[plan.Name] if initializer != nil { From f3e0777765cc3b1bd31e25582bf548b38616160f Mon Sep 17 00:00:00 2001 From: zjubfd <296179868@qq.com> Date: Tue, 23 Jan 2024 14:37:49 +0800 Subject: [PATCH 2/2] release: prepare for release v1.4.0 (#393) --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6c9054f22..3f8f862879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## V1.4.0 +This release introduces the Ural upgrade. + +Features: +* [#388](https://github.com/bnb-chain/greenfield-cosmos-sdk/pull/388) feat: introduce the Ural upgrade + +BUGFIX +* [#391](https://github.com/bnb-chain/greenfield-cosmos-sdk/pull/391) fix: module consensus version is not correctly set when upgrade after state sync + + ## v1.3.0 This release introduces the Hulunbeier upgrade.