diff --git a/.changeset/entries/2f61b31c2a0efc82ad62e160cf7f20d99521e231389fab25bd9433d01a498442.yaml b/.changeset/entries/2f61b31c2a0efc82ad62e160cf7f20d99521e231389fab25bd9433d01a498442.yaml deleted file mode 100644 index 18f200cb7f..0000000000 --- a/.changeset/entries/2f61b31c2a0efc82ad62e160cf7f20d99521e231389fab25bd9433d01a498442.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: deps -module: none -pull_request: 1324 -description: Bumped `wasmd` to v1.5.2 -backward_compatible: true -date: 2024-04-09T06:39:35.03776699Z diff --git a/.changeset/entries/45179d9352064561d86b7ded21f3f8fa5d9bc6063a1e59e34ef251c795dcd119.yaml b/.changeset/entries/45179d9352064561d86b7ded21f3f8fa5d9bc6063a1e59e34ef251c795dcd119.yaml deleted file mode 100644 index d5a954e9c1..0000000000 --- a/.changeset/entries/45179d9352064561d86b7ded21f3f8fa5d9bc6063a1e59e34ef251c795dcd119.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: deps -module: none -pull_request: 1323 -description: Bumped `cosmos-sdk` to `v0.47.10` -backward_compatible: true -date: 2024-04-09T06:35:41.554639766Z diff --git a/.changeset/entries/4a8bcefce1839e29ef2044523379927fe4807b3619084f50dd8f22f4b22f00ea.yaml b/.changeset/entries/4a8bcefce1839e29ef2044523379927fe4807b3619084f50dd8f22f4b22f00ea.yaml deleted file mode 100644 index db1bafcfe2..0000000000 --- a/.changeset/entries/4a8bcefce1839e29ef2044523379927fe4807b3619084f50dd8f22f4b22f00ea.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: deps -module: none -pull_request: 1305 -description: Updated `cosmos-sdk` to `v0.47.9` -backward_compatible: true -date: 2024-02-20T11:00:16.41996058Z diff --git a/.changeset/entries/6a2bc0788a319a5b56de4908bf20a27982dbe823977d30fb4cb174621658b2d5.yaml b/.changeset/entries/6a2bc0788a319a5b56de4908bf20a27982dbe823977d30fb4cb174621658b2d5.yaml deleted file mode 100644 index a529308a56..0000000000 --- a/.changeset/entries/6a2bc0788a319a5b56de4908bf20a27982dbe823977d30fb4cb174621658b2d5.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: ci -module: none -pull_request: 1316 -description: Fix split-test-files ci -backward_compatible: true -date: 2024-03-29T08:53:21.646923062Z diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b39ac4aaa..9c811388f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). --> +## Version 7.1.0 +### Dependencies +- ([\#1323](https://github.com/desmos-labs/desmos/pull/1323)) Bumped `cosmos-sdk` to `v0.47.10` +- ([\#1324](https://github.com/desmos-labs/desmos/pull/1324)) Bumped `wasmd` to `v1.5.2` +- ([\#1322](https://github.com/desmos-labs/desmos/pull/1322)) Bumped `ibc-go` to `v7.4.0` + ## Version 7.0.1 ### Dependencies - ([\#1305](https://github.com/desmos-labs/desmos/pull/1305)) Updated `cosmos-sdk` to `v0.47.9` diff --git a/app/upgrades.go b/app/upgrades.go index 5e8c13dbca..9dc3efda55 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -2,9 +2,11 @@ package app import ( v700 "github.com/desmos-labs/desmos/v7/app/upgrades/v700" + v710 "github.com/desmos-labs/desmos/v7/app/upgrades/v710" ) // registerUpgradeHandlers registers all the upgrade handlers that are supported by the app func (app *DesmosApp) registerUpgradeHandlers() { app.registerUpgrade(v700.NewUpgrade(app.ModuleManager, app.Configurator())) + app.registerUpgrade(v710.NewUpgrade(app.ModuleManager, app.Configurator())) } diff --git a/app/upgrades/v710/upgrade.go b/app/upgrades/v710/upgrade.go new file mode 100644 index 0000000000..059e49e0d8 --- /dev/null +++ b/app/upgrades/v710/upgrade.go @@ -0,0 +1,46 @@ +package v710 + +import ( + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + + "github.com/desmos-labs/desmos/v7/app/upgrades" +) + +var ( + _ upgrades.Upgrade = &Upgrade{} +) + +// Upgrade represents the v7.1.0 upgrade +type Upgrade struct { + mm *module.Manager + configurator module.Configurator +} + +// NewUpgrade returns a new Upgrade instance +func NewUpgrade(mm *module.Manager, configurator module.Configurator) *Upgrade { + return &Upgrade{ + mm: mm, + configurator: configurator, + } +} + +// Name implements upgrades.Upgrade +func (u *Upgrade) Name() string { + return "v7.1.0" +} + +// Handler implements upgrades.Upgrade +func (u *Upgrade) Handler() upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + // This upgrade does not require any migration, so we can simply return the current version map + return u.mm.RunMigrations(ctx, u.configurator, fromVM) + } +} + +// StoreUpgrades implements upgrades.Upgrade +func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades { + return &storetypes.StoreUpgrades{} +}