Skip to content

Commit 7b26bda

Browse files
RaulBernalcrodriguezvegacolin-axner
authored
Adding paramsKeeper.Subspace(icahosttypes.SubModuleName) (cosmos#2220)
* Adding `paramsKeeper.Subspace(icahosttypes.SubModuleName)` Adding `paramsKeeper.Subspace(icahosttypes.SubModuleName)` at `initParamsKeeper` func * fix spaces * adding missing paramsKeeper paramsKeeper.Subspace(icacontrollertypes.SubModuleName) Co-authored-by: Carlos Rodriguez <carlos@interchain.io> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
1 parent 6b7d67f commit 7b26bda

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/apps/interchain-accounts/integration.md

+7
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ app.mm.SetOrderInitGenesis(
122122
icatypes.ModuleName,
123123
...
124124
)
125+
126+
// initParamsKeeper init params keeper and its subspaces
127+
func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) paramskeeper.Keeper {
128+
...
129+
paramsKeeper.Subspace(icahosttypes.SubModuleName)
130+
paramsKeeper.Subspace(icacontrollertypes.SubModuleName)
131+
...
125132
```
126133
127134
### Using submodules exclusively

0 commit comments

Comments
 (0)