Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Jul 12, 2024
1 parent b2f2948 commit e1ac66f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions app/upgrades.go
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types"
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
multistakingtypes "github.com/realio-tech/multi-staking-module/x/multi-staking/types"
"github.com/realiotech/realio-network/v2/app/upgrades/commission"
multistaking "github.com/realiotech/realio-network/v2/app/upgrades/multi-staking"

upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
v2 "github.com/realiotech/realio-network/v2/app/upgrades/v2"
)

Expand All @@ -36,9 +34,7 @@ func (app *RealioNetwork) setupUpgradeHandlers(appOpts servertypes.AppOptions) {
app.ConsensusParamsKeeper,
app.IBCKeeper.ClientKeeper,
app.ParamsKeeper,
app.StakingKeeper,
app.MultiStakingKeeper,
app.GetSubspace(stakingtypes.ModuleName),
app.appCodec,
),
)
Expand Down
4 changes: 0 additions & 4 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
consensuskeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper"
paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
ibctmmigrations "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint/migrations"
multistakingkeeper "github.com/realio-tech/multi-staking-module/x/multi-staking/keeper"
Expand All @@ -24,9 +22,7 @@ func CreateUpgradeHandler(
ck consensuskeeper.Keeper,
clientKeeper ibctmmigrations.ClientKeeper,
pk paramskeeper.Keeper,
sk *stakingkeeper.Keeper,
mk multistakingkeeper.Keeper,
stakingLegacySubspace paramstypes.Subspace,
cdc codec.BinaryCodec,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
Expand Down

0 comments on commit e1ac66f

Please sign in to comment.