From 4f059359cd86fe9f5cebeae03d82e099dc04096f Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Fri, 22 Nov 2024 15:06:00 +0100 Subject: [PATCH] chore: fix expected keepers --- .../base/x/{{moduleName}}/types/expected_keepers.go.plush | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignite/templates/module/create/files/base/x/{{moduleName}}/types/expected_keepers.go.plush b/ignite/templates/module/create/files/base/x/{{moduleName}}/types/expected_keepers.go.plush index 63ae1fbaed..4287d068ab 100644 --- a/ignite/templates/module/create/files/base/x/{{moduleName}}/types/expected_keepers.go.plush +++ b/ignite/templates/module/create/files/base/x/{{moduleName}}/types/expected_keepers.go.plush @@ -4,7 +4,7 @@ import ( "context" <%= if (dependencies.Contains("Staking")) { %>"cosmossdk.io/core/address" - stakingtypes "cosmossdk.io/x/staking/types"<% } %> + <% } %> sdk "github.com/cosmos/cosmos-sdk/types" <%= if (dependencies.Contains("Authz")) { %>"cosmossdk.io/x/authz"<% } %> ) @@ -16,7 +16,7 @@ import ( // StakingKeeper defines the expected interface for the Staking module. type StakingKeeper interface { ConsensusAddressCodec() address.Codec - ValidatorByConsAddr(context.Context, sdk.ConsAddress) (stakingtypes.ValidatorI, error) + ValidatorByConsAddr(context.Context, sdk.ConsAddress) (sdk.ValidatorI, error) // Methods imported from account should be defined here }