Skip to content

Commit

Permalink
test: Fix lint - remove paramskeeper from upgrade handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jul 5, 2024
1 parent 1ad19f6 commit b6a95a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ func NewEthermintApp(

// RegisterUpgradeHandlers is used for registering any on-chain upgrades.
// Make sure it's called after `app.mm` and `app.configurator` are set.
app.RegisterUpgradeHandlers(app.appCodec, app.IBCKeeper.ClientKeeper, app.ConsensusParamsKeeper, app.ParamsKeeper)
app.RegisterUpgradeHandlers(app.appCodec, app.IBCKeeper.ClientKeeper, app.ConsensusParamsKeeper)

autocliv1.RegisterQueryServer(app.GRPCQueryRouter(), runtimeservices.NewAutoCLIQueryService(app.ModuleManager.Modules))

Expand Down
2 changes: 0 additions & 2 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
Expand All @@ -51,7 +50,6 @@ func (app *EthermintApp) RegisterUpgradeHandlers(
cdc codec.BinaryCodec,
ibcClientKeeper ibcclientkeeper.Keeper,
consensusParamsKeeper consensusparamskeeper.Keeper,
paramsKeeper paramskeeper.Keeper,
) {
planName := "integration-test-upgrade"
// Set param key table for params module migration
Expand Down

0 comments on commit b6a95a3

Please sign in to comment.