Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Mar 12, 2024
1 parent 9617b9d commit 713b13e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/core/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
storetypes "cosmossdk.io/store/types"

"github.com/cosmos/cosmos-sdk/codec"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand All @@ -12,13 +13,13 @@ import (
modulev1 "github.com/cosmos/ibc-go/api/ibc/core/module/v1"
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
"github.com/cosmos/ibc-go/v8/modules/core/keeper"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
)

var _ depinject.OnePerModuleType = AppModule{}

// IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (am AppModule) IsOnePerModuleType() {}
func (AppModule) IsOnePerModuleType() {}

func init() {
appmodule.Register(
Expand All @@ -45,7 +46,7 @@ type ModuleInputs struct {
type ModuleOutputs struct {
depinject.Out

IbcKeeper *keeper.Keeper
IbcKeeper *ibckeeper.Keeper
Module appmodule.AppModule
}

Expand All @@ -56,7 +57,7 @@ func ProvideModule(in ModuleInputs) ModuleOutputs {
authority = authtypes.NewModuleAddressOrBech32Address(in.Config.Authority)
}

keeper := keeper.NewKeeper(
keeper := ibckeeper.NewKeeper(
in.Cdc,
in.Key,
in.LegacySubspace,
Expand Down

0 comments on commit 713b13e

Please sign in to comment.