feat: migrate x/capability to app wiring (#12058)
* feat: migrate x/capability to app wiring * added some fixes from Matt's PR + changed MemStoreKey * fix name * fix name * small change * rollback MemStoreKey change * Revert "rollback MemStoreKey change" This reverts commit ad191eaa4030cee77574f94f843993597b25a46c. * add suggestions by @aaronc * add IsSealed() * fix Co-authored-by: Aaron Craelius <aaron@regen.network>
This commit is contained in:
co-authored by
Aaron Craelius
parent
ffa5c880bb
commit
17232fa89b
@@ -216,6 +216,9 @@ func (app *BaseApp) MountStores(keys ...storetypes.StoreKey) {
|
||||
case *storetypes.TransientStoreKey:
|
||||
app.MountStore(key, storetypes.StoreTypeTransient)
|
||||
|
||||
case *storetypes.MemoryStoreKey:
|
||||
app.MountStore(key, storetypes.StoreTypeMemory)
|
||||
|
||||
default:
|
||||
panic(fmt.Sprintf("Unrecognized store key type :%T", key))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user