@@ -142,6 +142,11 @@ import (
142142
143143const Name = "fetchd"
144144
145+ // MemStoreKey defines the in-memory store key
146+ const CapabilityMemStoreKey = "mem_capability"
147+ const CapabilityStoreKey = "capability"
148+ const IBCHostStoreKey = "ibc_host"
149+
145150var (
146151 // ProposalsEnabled controls x/wasm Proposals
147152 // If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.
@@ -338,8 +343,10 @@ func New(
338343 wasmtypes .StoreKey , icahosttypes .StoreKey ,
339344 icacontrollertypes .StoreKey ,
340345 paramstypes .StoreKey ,
346+ CapabilityStoreKey ,
341347 )
342348 tkeys := storetypes .NewTransientStoreKeys (paramstypes .TStoreKey )
349+ memkeys := storetypes .NewMemoryStoreKeys (CapabilityMemStoreKey )
343350
344351 // register streaming services
345352 if err := bApp .RegisterStreamingServices (appOpts , keys ); err != nil {
@@ -354,6 +361,7 @@ func New(
354361 invCheckPeriod : invCheckPeriod ,
355362 keys : keys ,
356363 tkeys : tkeys ,
364+ memKeys : memkeys ,
357365 txConfig : txConfig ,
358366 }
359367
@@ -558,7 +566,7 @@ func New(
558566
559567 app .GovKeeper = * govKeeper .SetHooks (
560568 govtypes .NewMultiGovHooks (
561- // register the governance hooks
569+ // register the governance hooks
562570 ),
563571 )
564572
@@ -588,7 +596,7 @@ func New(
588596
589597 app .EpochsKeeper .SetHooks (
590598 epochstypes .NewMultiEpochHooks (
591- // insert epoch hooks receivers here
599+ // insert epoch hooks receivers here
592600 ),
593601 )
594602
@@ -896,6 +904,7 @@ func New(
896904 // initialize stores
897905 app .MountKVStores (keys )
898906 app .MountTransientStores (tkeys )
907+ app .MountMemoryStores (memkeys )
899908
900909 // initialize BaseApp
901910 app .SetInitChainer (app .InitChainer )
0 commit comments