Skip to content

Commit

Permalink
chore: remove unecessary migration logic (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Dec 20, 2023
1 parent 6f2d0d8 commit a422efa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ func setUpgradeHandler(app *ElysApp) {
// dedicated x/consensus module.
baseapp.MigrateParams(ctx, baseAppLegacySS, &app.ConsensusParamsKeeper)

// set authority value for all time based inflation
for _, item := range app.TokenomicsKeeper.GetAllTimeBasedInflation(ctx) {
// set the gov module address to the authority
item.Authority = authtypes.NewModuleAddress(govtypes.ModuleName).String()
app.TokenomicsKeeper.SetTimeBasedInflation(ctx, item)
}

return app.mm.RunMigrations(ctx, app.configurator, vm)
},
)
Expand Down

0 comments on commit a422efa

Please sign in to comment.