@@ -317,12 +317,12 @@ func NewMinitiaApp(
317
317
app .CapabilityKeeper = capabilitykeeper .NewKeeper (appCodec , keys [capabilitytypes .StoreKey ], memKeys [capabilitytypes .MemStoreKey ])
318
318
319
319
// grant capabilities for the ibc and ibc-transfer modules
320
- scopedIBCKeeper : = app .CapabilityKeeper .ScopeToModule (ibcexported .ModuleName )
321
- scopedTransferKeeper : = app .CapabilityKeeper .ScopeToModule (ibctransfertypes .ModuleName )
322
- scopedICAHostKeeper : = app .CapabilityKeeper .ScopeToModule (icahosttypes .SubModuleName )
323
- scopedICAControllerKeeper : = app .CapabilityKeeper .ScopeToModule (icacontrollertypes .SubModuleName )
324
- scopedICAAuthKeeper : = app .CapabilityKeeper .ScopeToModule (icaauthtypes .ModuleName )
325
- scopedWasmKeeper : = app .CapabilityKeeper .ScopeToModule (wasmtypes .ModuleName )
320
+ app . ScopedIBCKeeper = app .CapabilityKeeper .ScopeToModule (ibcexported .ModuleName )
321
+ app . ScopedTransferKeeper = app .CapabilityKeeper .ScopeToModule (ibctransfertypes .ModuleName )
322
+ app . ScopedICAHostKeeper = app .CapabilityKeeper .ScopeToModule (icahosttypes .SubModuleName )
323
+ app . ScopedICAControllerKeeper = app .CapabilityKeeper .ScopeToModule (icacontrollertypes .SubModuleName )
324
+ app . ScopedICAAuthKeeper = app .CapabilityKeeper .ScopeToModule (icaauthtypes .ModuleName )
325
+ app . ScopedWasmKeeper = app .CapabilityKeeper .ScopeToModule (wasmtypes .ModuleName )
326
326
app .ScopedICQKeeper = app .CapabilityKeeper .ScopeToModule (icqtypes .ModuleName )
327
327
app .ScopedFetchPriceKeeper = app .CapabilityKeeper .ScopeToModule (fetchpricetypes .ModuleName )
328
328
@@ -421,7 +421,7 @@ func NewMinitiaApp(
421
421
nil , // we don't need migration
422
422
app .OPChildKeeper ,
423
423
app .UpgradeKeeper ,
424
- scopedIBCKeeper ,
424
+ app . ScopedIBCKeeper ,
425
425
authorityAddr ,
426
426
)
427
427
@@ -458,7 +458,7 @@ func NewMinitiaApp(
458
458
app .IBCKeeper .PortKeeper ,
459
459
app .AccountKeeper ,
460
460
app .BankKeeper ,
461
- scopedTransferKeeper ,
461
+ app . ScopedTransferKeeper ,
462
462
authorityAddr ,
463
463
)
464
464
app .TransferKeeper = & transferKeeper
@@ -647,7 +647,7 @@ func NewMinitiaApp(
647
647
app .IBCFeeKeeper , // ISC4 Wrapper: fee IBC middleware
648
648
app .IBCKeeper .ChannelKeeper ,
649
649
app .IBCKeeper .PortKeeper ,
650
- scopedWasmKeeper ,
650
+ app . ScopedWasmKeeper ,
651
651
app .TransferKeeper ,
652
652
app .MsgServiceRouter (),
653
653
app .GRPCQueryRouter (),
@@ -904,13 +904,6 @@ func NewMinitiaApp(
904
904
}
905
905
}
906
906
907
- app .ScopedIBCKeeper = scopedIBCKeeper
908
- app .ScopedTransferKeeper = scopedTransferKeeper
909
- app .ScopedICAHostKeeper = scopedICAHostKeeper
910
- app .ScopedICAControllerKeeper = scopedICAControllerKeeper
911
- app .ScopedICAAuthKeeper = scopedICAAuthKeeper
912
- app .ScopedWasmKeeper = scopedWasmKeeper
913
-
914
907
return app
915
908
}
916
909
0 commit comments