Skip to content

Commit

Permalink
add query router to module inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Apr 17, 2024
1 parent 6fbe2a4 commit 7fd6d4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/apps/27-interchain-accounts/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ type ModuleInputs struct {
ScopedKeeper capabilitykeeper.ScopedKeeper
AccountKeeper types.AccountKeeper

MsgRouter types.MessageRouter
MsgRouter types.MessageRouter
QueryRouter types.QueryRouter

// LegacySubspace is used solely for migration of x/params managed parameters
LegacySubspace paramtypes.Subspace `optional:"true"`
Expand Down Expand Up @@ -88,6 +89,7 @@ func ProvideModule(in ModuleInputs) ModuleOutputs {
in.AccountKeeper,
in.ScopedKeeper,
in.MsgRouter,
in.QueryRouter,
authority.String(),
)
m := NewAppModule(&controllerkeeper, &hostkeeper)
Expand Down

0 comments on commit 7fd6d4e

Please sign in to comment.