chore: set legacy router in app v1 (backport #14195) (#14201)

Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
mergify[bot] 2022-12-07 18:19:10 +01:00 committed by GitHub
parent c3c00b9556
commit 9b4bc68aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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()