Skip to content

feat: implemente Msgs for SP exit #2508

feat: implemente Msgs for SP exit

feat: implemente Msgs for SP exit #2508

Triggered via pull request December 4, 2023 02:29
Status Failure
Total duration 1m 8s
Artifacts

lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint (1.20.x, ubuntu-latest): x/storage/genesis_test.go#L1
: # github.com/bnb-chain/greenfield/x/storage_test [github.com/bnb-chain/greenfield/x/storage.test]
golangci-lint (1.20.x, ubuntu-latest): x/storage/genesis_test.go#L36
cannot use &types.MockVirtualGroupKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper (missing method GetSwapInInfo) (typecheck)
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/cross_app_bucket_test.go#L1
: # github.com/bnb-chain/greenfield/x/storage/keeper_test [github.com/bnb-chain/greenfield/x/storage/keeper.test]
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/grpc_query_test.go#L42
cannot use &types.MockVirtualGroupKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper (missing method GetSwapInInfo)
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/payment_test.go#L76
cannot use virtualGroupKeeper (variable of type *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockVirtualGroupKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".VirtualGroupKeeper (missing method GetSwapInInfo) (typecheck)
golangci-lint (1.20.x, ubuntu-latest): x/virtualgroup/keeper/genesis_test.go#L1
: # github.com/bnb-chain/greenfield/x/virtualgroup/keeper_test [github.com/bnb-chain/greenfield/x/virtualgroup/keeper.test]
golangci-lint (1.20.x, ubuntu-latest): x/virtualgroup/keeper/payment_test.go#L58
cannot use spKeeper (variable of type *"github.com/bnb-chain/greenfield/x/virtualgroup/types".MockSpKeeper) as "github.com/bnb-chain/greenfield/x/virtualgroup/types".SpKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/virtualgroup/types".MockSpKeeper does not implement "github.com/bnb-chain/greenfield/x/virtualgroup/types".SpKeeper (missing method GetAllStorageProviders) (typecheck)
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/keeper.go#L5
File is not `goimports`-ed (goimports)
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/virtualgroup_test.go#L7
File is not `goimports`-ed (goimports)
golangci-lint (1.20.x, ubuntu-latest): x/virtualgroup/keeper/msg_server.go#L600
printf: (*cosmossdk.io/errors.Error).Wrapf format %s reads arg #3, but call has 2 args (govet)