Skip to content

Commit 70d78b8

Browse files
DimitrisJimsrdtrk
andauthored
nit: separate apps, lightclients in module manager. (#6014)
Co-authored-by: srdtrk <[email protected]>
1 parent a0070b2 commit 70d78b8

File tree

3 files changed

+9
-3
lines changed
  • modules
    • apps/callbacks/testing/simapp
    • light-clients/08-wasm/testing/simapp
  • testing/simapp

3 files changed

+9
-3
lines changed

modules/apps/callbacks/testing/simapp/app.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,11 @@ func NewSimApp(
619619
transfer.NewAppModule(app.TransferKeeper),
620620
ibcfee.NewAppModule(app.IBCFeeKeeper),
621621
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
622+
mockModule,
623+
624+
// IBC light clients
622625
ibctm.NewAppModule(tmLightClientModule),
623626
solomachine.NewAppModule(smLightClientModule),
624-
mockModule,
625627
)
626628

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

modules/light-clients/08-wasm/testing/simapp/app.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,12 @@ func NewSimApp(
651651
transfer.NewAppModule(app.TransferKeeper),
652652
ibcfee.NewAppModule(app.IBCFeeKeeper),
653653
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
654+
mockModule,
655+
656+
// IBC light clients
654657
wasm.NewAppModule(app.WasmClientKeeper), // TODO(damian): see if we want to pass the lightclient module here, keeper is used in AppModule.RegisterServices etc
655658
ibctm.NewAppModule(tmLightClientModule),
656659
solomachine.NewAppModule(smLightClientModule),
657-
mockModule,
658660
)
659661

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

testing/simapp/app.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -613,9 +613,11 @@ func NewSimApp(
613613
transfer.NewAppModule(app.TransferKeeper),
614614
ibcfee.NewAppModule(app.IBCFeeKeeper),
615615
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
616+
mockModule,
617+
618+
// IBC light clients
616619
ibctm.NewAppModule(tmLightClientModule),
617620
solomachine.NewAppModule(smLightClientModule),
618-
mockModule,
619621
)
620622

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

0 commit comments

Comments
 (0)