Skip to content

Commit

Permalink
Adding paramsKeeper.Subspace(icahosttypes.SubModuleName) (#2220) (#…
Browse files Browse the repository at this point in the history
…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
mergify[bot] and RaulBernal authored Sep 21, 2022
1 parent 9334832 commit 4c418fb
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 4c418fb

Please sign in to comment.