From f54143e91fdda13f2138bf8d99fa8e5cbd8c9de1 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Tue, 15 Nov 2022 10:53:52 +0100 Subject: [PATCH] add missing set order functions for ica (#2740) Co-authored-by: Carlos Rodriguez --- docs/apps/interchain-accounts/integration.md | 16 +++++++++++++++- docs/middleware/ics29-fee/integration.md | 6 +++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/apps/interchain-accounts/integration.md b/docs/apps/interchain-accounts/integration.md index 8105d684276..bd3d9404500 100644 --- a/docs/apps/interchain-accounts/integration.md +++ b/docs/apps/interchain-accounts/integration.md @@ -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, ... diff --git a/docs/middleware/ics29-fee/integration.md b/docs/middleware/ics29-fee/integration.md index 8f11998c456..b1d13fef065 100644 --- a/docs/middleware/ics29-fee/integration.md +++ b/docs/middleware/ics29-fee/integration.md @@ -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, ...