Skip to content

Commit

Permalink
Change version to v9.0.0 and add an UpgradeHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor118 committed Jan 8, 2025
1 parent 12e7cf3 commit f8382e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ import (
const (
Bech32Prefix = "chihuahua"
Name = "chihuahua"
UpgradeName = "v8.0.1"
UpgradeName = "v9.0.0"
NodeDir = ".chihuahuad"
)

Expand Down Expand Up @@ -1392,6 +1392,11 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {
return app.mm.RunMigrations(c, cfg, vm)
})

app.UpgradeKeeper.SetUpgradeHandler("v9.0.0", func(ctx context.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, cfg, vm)

})

}

// SimulationManager implements the SimulationApp interface
Expand Down

0 comments on commit f8382e8

Please sign in to comment.