Skip to content

Commit

Permalink
Adding paramsKeeper.Subspace(icahosttypes.SubModuleName) (#2220)
Browse files Browse the repository at this point in the history
* 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>
(cherry picked from commit 7b26bda)
  • Loading branch information
RaulBernal authored and mergify[bot] committed Sep 20, 2022
1 parent a0a8af2 commit 4bb8ee1
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 4bb8ee1

Please sign in to comment.