Skip to content

Commit

Permalink
docs: add missing set order functions for ICA (backport #2740) (#2754)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
mergify[bot] and Carlos Rodriguez authored Nov 15, 2022
1 parent 2d2dedc commit 7d10f0a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/apps/interchain-accounts/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,22 @@ app.moduleManager = module.NewManager(

...

// Add fee middleware to begin blocker logic
app.moduleManager.SetOrderBeginBlockers(
...
icatypes.ModuleName,
...
)

// Add fee middleware to end blocker logic
app.moduleManager.SetOrderEndBlockers(
...
icatypes.ModuleName,
...
)

// Add Interchain Accounts module InitGenesis logic
app.mm.SetOrderInitGenesis(
app.moduleManager.SetOrderInitGenesis(
...
icatypes.ModuleName,
...
Expand Down

0 comments on commit 7d10f0a

Please sign in to comment.