Skip to content

Commit

Permalink
Adding paramsKeeper.Subspace(icahosttypes.SubModuleName) (cosmos#2220
Browse files Browse the repository at this point in the history
…) (cosmos#2326)

* 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 <[email protected]>
Co-authored-by: colin axnér <[email protected]>
(cherry picked from commit 7b26bda)

Co-authored-by: Raul Bernal <[email protected]>
  • Loading branch information
2 people authored and ulbqb committed Jul 31, 2023
1 parent 37d0b75 commit f83e47f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/apps/interchain-accounts/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ app.mm.SetOrderInitGenesis(
icatypes.ModuleName,
...
)

// initParamsKeeper init params keeper and its subspaces
func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) paramskeeper.Keeper {
...
paramsKeeper.Subspace(icahosttypes.SubModuleName)
paramsKeeper.Subspace(icacontrollertypes.SubModuleName)
...
```
### Using submodules exclusively
Expand Down

0 comments on commit f83e47f

Please sign in to comment.