Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4bb8ee1

Browse files
RaulBernalmergify[bot]
authored andcommittedSep 20, 2022
Adding paramsKeeper.Subspace(icahosttypes.SubModuleName) (#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> (cherry picked from commit 7b26bda)
1 parent a0a8af2 commit 4bb8ee1

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)
Please sign in to comment.