Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
caseylove committed Jan 10, 2025
1 parent 4995d2f commit 2d2bd58
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions x/staking/migrations/v5/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ import (
"fmt"
"strconv"

"cosmossdk.io/core/codec"
"cosmossdk.io/core/log"
"cosmossdk.io/store/prefix"
storetypes "cosmossdk.io/store/types"

"cosmossdk.io/core/codec"
)

func migrateDelegationsByValidatorIndex(store storetypes.KVStore) error {
Expand Down
3 changes: 1 addition & 2 deletions x/staking/migrations/v6/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package v6
import (
"context"

storetypes "cosmossdk.io/store/types"

"cosmossdk.io/core/codec"
storetypes "cosmossdk.io/store/types"
)

// MigrateStore performs in-place store migrations from v5 to v6.
Expand Down
2 changes: 1 addition & 1 deletion x/staking/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import (

"cosmossdk.io/collections"
"cosmossdk.io/core/appmodule"
"cosmossdk.io/core/codec"
"cosmossdk.io/core/registry"
"cosmossdk.io/depinject"
"cosmossdk.io/schema"
"cosmossdk.io/x/staking/client/cli"
"cosmossdk.io/x/staking/keeper"
"cosmossdk.io/x/staking/types"

"cosmossdk.io/core/codec"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/types/module"
)
Expand Down
2 changes: 1 addition & 1 deletion x/staking/simulation/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"fmt"

"cosmossdk.io/core/codec"
"cosmossdk.io/math"
"cosmossdk.io/x/staking/types"

"cosmossdk.io/core/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/kv"
)
Expand Down
2 changes: 1 addition & 1 deletion x/staking/types/delegation.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"time"

"cosmossdk.io/core/address"
"cosmossdk.io/core/codec"
"cosmossdk.io/math"

"cosmossdk.io/core/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand Down
2 changes: 1 addition & 1 deletion x/staking/types/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (

"cosmossdk.io/core/address"
"cosmossdk.io/core/appmodule"
"cosmossdk.io/core/codec"
"cosmossdk.io/errors"
"cosmossdk.io/math"

"cosmossdk.io/core/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down

0 comments on commit 2d2bd58

Please sign in to comment.