Skip to content

Commit 7d10f0a

Browse files
docs: add missing set order functions for ICA (backport #2740) (#2754)
* add missing set order functions for ica (#2740) Co-authored-by: Carlos Rodriguez <crodveg@gmail.com> (cherry picked from commit f54143e) # Conflicts: # docs/middleware/ics29-fee/integration.md * Delete integration.md Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
1 parent 2d2dedc commit 7d10f0a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/apps/interchain-accounts/integration.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,22 @@ app.moduleManager = module.NewManager(
116116

117117
...
118118

119+
// Add fee middleware to begin blocker logic
120+
app.moduleManager.SetOrderBeginBlockers(
121+
...
122+
icatypes.ModuleName,
123+
...
124+
)
125+
126+
// Add fee middleware to end blocker logic
127+
app.moduleManager.SetOrderEndBlockers(
128+
...
129+
icatypes.ModuleName,
130+
...
131+
)
132+
119133
// Add Interchain Accounts module InitGenesis logic
120-
app.mm.SetOrderInitGenesis(
134+
app.moduleManager.SetOrderInitGenesis(
121135
...
122136
icatypes.ModuleName,
123137
...

0 commit comments

Comments
 (0)