Skip to content

Commit

Permalink
add missing set order functions for ica (cosmos#2740)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Rodriguez <crodveg@gmail.com>
  • Loading branch information
crodriguezvega and Carlos Rodriguez authored Nov 15, 2022
1 parent 68ba375 commit f54143e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion docs/apps/interchain-accounts/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,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
6 changes: 3 additions & 3 deletions docs/middleware/ics29-fee/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@ app.moduleManager = module.NewManager(
...
// Add fee middleware to begin blocker logic
app.mm.SetOrderBeginBlockers(
app.moduleManager.SetOrderBeginBlockers(
...
ibcfeetypes.ModuleName,
...
)
// Add fee middleware to end blocker logic
app.mm.SetOrderEndBlockers(
app.moduleManager.SetOrderEndBlockers(
...
ibcfeetypes.ModuleName,
...
)
// Add fee middleware to init genesis logic
app.mm.SetOrderInitGenesis(
app.moduleManager.SetOrderInitGenesis(
...
ibcfeetypes.ModuleName,
...
Expand Down

0 comments on commit f54143e

Please sign in to comment.