Skip to content

Commit

Permalink
chore: set legacy router in app v1 (#14195)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Dec 7, 2022
1 parent d58685c commit 9bf0274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ func NewSimApp(
),
)

// Set legacy router for backwards compatibility with gov v1beta1
govKeeper.SetLegacyRouter(govRouter)

// RegisterUpgradeHandlers is used for registering any on-chain upgrades.
app.RegisterUpgradeHandlers()

Expand Down

0 comments on commit 9bf0274

Please sign in to comment.