Skip to content

feat: virtual group and sp exit #1492

feat: virtual group and sp exit

feat: virtual group and sp exit #1492

Triggered via pull request June 19, 2023 07:18
Status Failure
Total duration 5m 2s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

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): testutil/network/network.go#L1
: # github.com/bnb-chain/greenfield/testutil/network
golangci-lint (1.20.x, ubuntu-latest): testutil/network/network.go#L68
cannot use map[int64]bool{} (value of type map[int64]bool) as string value in argument to app.New
golangci-lint (1.20.x, ubuntu-latest): testutil/network/network.go#L69
cannot use val.GetCtx().Config.RootDir (variable of type string) as uint value in argument to app.New
golangci-lint (1.20.x, ubuntu-latest): testutil/network/network.go#L70
cannot use 0 (untyped int constant) as "github.com/bnb-chain/greenfield/app/params".EncodingConfig value in argument to app.New
golangci-lint (1.20.x, ubuntu-latest): testutil/network/network.go#L71
cannot use encoding (variable of type "github.com/bnb-chain/greenfield/app/params".EncodingConfig) as *"github.com/bnb-chain/greenfield/app".AppConfig value in argument to app.New (typecheck)
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/bridge_test.go#L1
: # github.com/bnb-chain/greenfield/e2e/tests [github.com/bnb-chain/greenfield/e2e/tests.test]
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/challenge_test.go#L110
cannot use sp.OperatorKey.GetAddr() (value of type "github.com/cosmos/cosmos-sdk/types".AccAddress) as uint32 value in argument to storagetypes.NewSecondarySpSignDoc
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/payment_test.go#L212
cannot use sp.OperatorKey.GetAddr() (value of type "github.com/cosmos/cosmos-sdk/types".AccAddress) as uint32 value in argument to storagetypes.NewSecondarySpSignDoc
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L184
cannot use sp.OperatorKey.GetAddr() (value of type "github.com/cosmos/cosmos-sdk/types".AccAddress) as uint32 value in argument to storagetypes.NewSecondarySpSignDoc
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L358
cannot use sp.OperatorKey.GetAddr() (value of type "github.com/cosmos/cosmos-sdk/types".AccAddress) as uint32 value in argument to storagetypes.NewSecondarySpSignDoc