Skip to content

style: remove unused params code #80

style: remove unused params code

style: remove unused params code #80

Triggered via pull request March 8, 2024 04:22
Status Failure
Total duration 4m 18s
Artifacts

lint_golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: x/crosschain/migrations/v4/migrator_param.go#L1
: # github.com/functionx/fx-core/v7/x/crosschain/migrations/v4
golangci-lint: x/crosschain/migrations/v4/migrator_param.go#L13
undefined: types.ParamKeyTable
golangci-lint: x/crosschain/migrations/v4/migrator_param.go#L16
cannot use &currParams (value of type *"github.com/functionx/fx-core/v7/x/crosschain/types".Params) as "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet value in argument to legacySubspace.GetParamSet: *"github.com/functionx/fx-core/v7/x/crosschain/types".Params does not implement "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet (missing method ParamSetPairs) (typecheck)
golangci-lint: x/crosschain/keeper/migrations.go#L6
could not import github.com/functionx/fx-core/v7/x/crosschain/migrations/v4 (-: # github.com/functionx/fx-core/v7/x/crosschain/migrations/v4
golangci-lint: x/crosschain/migrations/v4/migrator_param.go#L13
undefined: types.ParamKeyTable
golangci-lint: x/crosschain/migrations/v4/migrator_param.go#L16
cannot use &currParams (value of type *"github.com/functionx/fx-core/v7/x/crosschain/types".Params) as "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet value in argument to legacySubspace.GetParamSet: *"github.com/functionx/fx-core/v7/x/crosschain/types".Params does not implement "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet (missing method ParamSetPairs)) (typecheck)
golangci-lint: x/erc20/migrations/v4/migrator_param.go#L1
: # github.com/functionx/fx-core/v7/x/erc20/migrations/v4
golangci-lint: x/erc20/migrations/v4/migrator_param.go#L13
undefined: types.ParamKeyTable
golangci-lint: x/erc20/migrations/v4/migrator_param.go#L16
cannot use &currParams (value of type *"github.com/functionx/fx-core/v7/x/erc20/types".Params) as "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet value in argument to legacySubspace.GetParamSet: *"github.com/functionx/fx-core/v7/x/erc20/types".Params does not implement "github.com/cosmos/cosmos-sdk/x/params/types".ParamSet (missing method ParamSetPairs) (typecheck)
golangci-lint: x/erc20/keeper/migrations.go#L6
could not import github.com/functionx/fx-core/v7/x/erc20/migrations/v4 (-: # github.com/functionx/fx-core/v7/x/erc20/migrations/v4