diff --git a/app/app.go b/app/app.go index 13d7e146d..87c87658e 100644 --- a/app/app.go +++ b/app/app.go @@ -729,6 +729,7 @@ func (app *App) initModules(ctx sdk.Context) { app.initBridge() app.initStorage() + app.initGov() } func (app *App) initCrossChain() { @@ -744,6 +745,13 @@ func (app *App) initStorage() { storagemodulekeeper.RegisterCrossApps(app.StorageKeeper) } +func (app *App) initGov() { + err := app.GovKeeper.RegisterCrossChainSyncParamsApp() + if err != nil { + panic(err) + } +} + // Name returns the name of the App func (app *App) Name() string { return app.BaseApp.Name() }