-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
stefan.balea
committed
Aug 21, 2024
1 parent
66c83a6
commit 045acb3
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
package v710 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/bze-alphateam/bze/app/upgrades" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | ||
) | ||
|
||
const UpgradeName = "v7.1.0" | ||
|
||
func CreateUpgradeHandler( | ||
cfg module.Configurator, | ||
mm *module.Manager, | ||
_ module.Configurator, | ||
_ *module.Manager, | ||
) upgradetypes.UpgradeHandler { | ||
return func(ctx sdk.Context, _plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { | ||
return mm.RunMigrations(ctx, cfg, vm) | ||
} | ||
return upgrades.EmptyUpgradeHandler() | ||
} |