diff --git a/CHANGELOG.md b/CHANGELOG.md index e0a6edb9f4..1b7e506bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,13 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog +## Unreleased + +### Improvements + +- [2299](https://github.com/umee-network/umee/pull/2299) Upgrade Cosmos SDK to v0.47. +- [2301](https://github.com/umee-network/umee/pull/2301) use gov/v1 MinInitialDepositRatio and set it to 0.1. + ## v6.1.0 - 2023-10-17 ### Improvements diff --git a/app/upgrades.go b/app/upgrades.go index 82c0083439..d6a49f0513 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -119,7 +119,14 @@ func (app *UmeeApp) registerUpgrade6_2(upgradeInfo upgradetypes.Plan) { params.AllowedClients = append(params.AllowedClients, ibcexported.Localhost) app.IBCKeeper.ClientKeeper.SetParams(ctx, params) - return app.mm.RunMigrations(ctx, app.configurator, fromVM) + fromVM, err := app.mm.RunMigrations(ctx, app.configurator, fromVM) + if err != nil { + return fromVM, err + } + govParams := app.GovKeeper.GetParams(ctx) + govParams.MinInitialDepositRatio = sdk.NewDecWithPrec(1, 2).String() + err = app.GovKeeper.SetParams(ctx, govParams) + return fromVM, err }, )