Skip to content

Commit

Permalink
Move app.setupUpgradeHandlers() after module manager and configurator (
Browse files Browse the repository at this point in the history
…#884) (#885)

(cherry picked from commit 5cfdfba)

Co-authored-by: Unity Chaos <[email protected]>
  • Loading branch information
mergify[bot] and UnityChaos authored Feb 17, 2022
1 parent 3bf63f1 commit 9002356
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ func NewOsmosisApp(
app.setupUpgradeStoreLoaders()
app.InitNormalKeepers()
app.SetupHooks()
app.setupUpgradeHandlers()

/**** Module Options ****/

Expand Down Expand Up @@ -395,6 +394,8 @@ func NewOsmosisApp(
app.configurator = module.NewConfigurator(app.AppCodec(), app.MsgServiceRouter(), app.GRPCQueryRouter())
app.mm.RegisterServices(app.configurator)

app.setupUpgradeHandlers()

// create the simulation manager and define the order of the modules for deterministic simulations
//
// NOTE: this is not required apps that don't use the simulator for fuzz testing
Expand Down

0 comments on commit 9002356

Please sign in to comment.