From a422efaaa7e06e4523e09711d9b783720e384073 Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:14:05 +0100 Subject: [PATCH] chore: remove unecessary migration logic (#314) --- app/setup_handlers.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/setup_handlers.go b/app/setup_handlers.go index 77ffe212b..2775ef4a9 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -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) }, )