Skip to content

Commit

Permalink
rollback ibctm and solomachine to RegisterModules
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored and Pantani committed Nov 22, 2023
1 parent 0dba5f1 commit 8c63896
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ignite/templates/app/files/app/ibc.go.plush
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,15 @@ func (app *App) registerIBCModules() {
app.ScopedICAHostKeeper = scopedICAHostKeeper
app.ScopedICAControllerKeeper = scopedICAControllerKeeper

// register additional types
ibctm.AppModuleBasic{}.RegisterInterfaces(app.interfaceRegistry)
solomachine.AppModuleBasic{}.RegisterInterfaces(app.interfaceRegistry)

// register IBC modules
if err := app.RegisterModules(
ibc.NewAppModule(app.IBCKeeper),
ibctransfer.NewAppModule(app.TransferKeeper),
ibcfee.NewAppModule(app.IBCFeeKeeper),
icamodule.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
capability.NewAppModule(app.appCodec, *app.CapabilityKeeper, false),
ibctm.AppModule{},
solomachine.AppModule{},
); err != nil {
panic(err)
}
Expand Down

0 comments on commit 8c63896

Please sign in to comment.