Skip to content

Commit

Permalink
nit: separate apps, lightclients in module manager. (cosmos#6014)
Browse files Browse the repository at this point in the history
Co-authored-by: srdtrk <[email protected]>
  • Loading branch information
DimitrisJim and srdtrk authored Mar 15, 2024
1 parent a0070b2 commit 70d78b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion modules/apps/callbacks/testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,11 @@ func NewSimApp(
transfer.NewAppModule(app.TransferKeeper),
ibcfee.NewAppModule(app.IBCFeeKeeper),
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
mockModule,

// IBC light clients
ibctm.NewAppModule(tmLightClientModule),
solomachine.NewAppModule(smLightClientModule),
mockModule,
)

// BasicModuleManager defines the module BasicManager is in charge of setting up basic,
Expand Down
4 changes: 3 additions & 1 deletion modules/light-clients/08-wasm/testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,10 +651,12 @@ func NewSimApp(
transfer.NewAppModule(app.TransferKeeper),
ibcfee.NewAppModule(app.IBCFeeKeeper),
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
mockModule,

// IBC light clients
wasm.NewAppModule(app.WasmClientKeeper), // TODO(damian): see if we want to pass the lightclient module here, keeper is used in AppModule.RegisterServices etc
ibctm.NewAppModule(tmLightClientModule),
solomachine.NewAppModule(smLightClientModule),
mockModule,
)

// BasicModuleManager defines the module BasicManager is in charge of setting up basic,
Expand Down
4 changes: 3 additions & 1 deletion testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,11 @@ func NewSimApp(
transfer.NewAppModule(app.TransferKeeper),
ibcfee.NewAppModule(app.IBCFeeKeeper),
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
mockModule,

// IBC light clients
ibctm.NewAppModule(tmLightClientModule),
solomachine.NewAppModule(smLightClientModule),
mockModule,
)

// BasicModuleManager defines the module BasicManager is in charge of setting up basic,
Expand Down

0 comments on commit 70d78b8

Please sign in to comment.