From eaba5cf785f60cb88707d7bf8070e6c8f9970612 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Fri, 22 Nov 2024 17:56:37 +0100 Subject: [PATCH] chore: fix expected keepers (#4424) --- .../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 }