Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing set order functions for ICA (backport #2740) #2756

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/apps/interchain-accounts/integration.md
Original file line number Diff line number Diff line change
@@ -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,
...
6 changes: 3 additions & 3 deletions docs/middleware/ics29-fee/integration.md
Original file line number Diff line number Diff line change
@@ -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,
...