Skip to content

Commit

Permalink
chore: fix expected keepers (#4424)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Nov 22, 2024
1 parent aa03d46 commit eaba5cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"<% } %>
)
Expand All @@ -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
}

Expand Down

0 comments on commit eaba5cf

Please sign in to comment.