Skip to content

Commit

Permalink
perf: use cosmos ibc-apps async-icq
Browse files Browse the repository at this point in the history
  • Loading branch information
kienn6034 committed Feb 26, 2024
1 parent 97d9a99 commit 2de8c4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,15 +650,16 @@ func NewMigalooApp(
app.Ics20WasmHooks.ContractKeeper = &app.WasmKeeper

// ICQ Keeper
authority := authtypes.NewModuleAddress(govtypes.ModuleName).String()
app.ICQKeeper = icqkeeper.NewKeeper(
appCodec,
keys[icqtypes.StoreKey],
app.GetSubspace(icqtypes.ModuleName),
app.IBCKeeper.ChannelKeeper, // may be replaced with middleware
app.IBCKeeper.ChannelKeeper,
&app.IBCKeeper.PortKeeper,
scopedICQKeeper,
app.BaseApp, // may be replaced
app.BaseApp.GRPCQueryRouter(),
authority,
)

// Create Transfer Stack
Expand Down Expand Up @@ -770,7 +771,7 @@ func NewMigalooApp(
params.NewAppModule(app.ParamsKeeper),
transfer.NewAppModule(app.TransferKeeper),
icaModule,
icq.NewAppModule(app.ICQKeeper),
icq.NewAppModule(app.ICQKeeper, app.GetSubspace(icqtypes.ModuleName)),
alliancemodule.NewAppModule(appCodec, app.AllianceKeeper, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry, app.GetSubspace(alliancemoduletypes.ModuleName)),
ibcfee.NewAppModule(app.IBCFeeKeeper),
ica.NewAppModule(&app.ICAControllerKeeper, &app.ICAHostKeeper),
Expand Down

0 comments on commit 2de8c4e

Please sign in to comment.