Skip to content

feat: implement slashing functionality on the provider chain (ADR-013) #3975

feat: implement slashing functionality on the provider chain (ADR-013)

feat: implement slashing functionality on the provider chain (ADR-013) #3975

Triggered via pull request September 7, 2023 15:38
Status Failure
Total duration 3m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: tests/integration/slashing.go#L16
could not import github.com/cosmos/interchain-security/v2/testutil/keeper (-: # github.com/cosmos/interchain-security/v2/testutil/keeper
lint: testutil/keeper/unit_test_helpers.go#L124
cannot use mocks.MockStakingKeeper (variable of type *MockStakingKeeper) as type "github.com/cosmos/interchain-security/v2/x/ccv/types".StakingKeeper in argument to providerkeeper.NewKeeper:
lint: x/ccv/consumer/ibc_module_test.go#L12
could not import github.com/cosmos/interchain-security/v2/testutil/keeper (-: # github.com/cosmos/interchain-security/v2/testutil/keeper
lint: testutil/keeper/unit_test_helpers.go#L124
cannot use mocks.MockStakingKeeper (variable of type *MockStakingKeeper) as type "github.com/cosmos/interchain-security/v2/x/ccv/types".StakingKeeper in argument to providerkeeper.NewKeeper:
lint: x/ccv/consumer/keeper/changeover_test.go#L9
could not import github.com/cosmos/interchain-security/v2/testutil/keeper (-: # github.com/cosmos/interchain-security/v2/testutil/keeper
lint: testutil/keeper/unit_test_helpers.go#L124
cannot use mocks.MockStakingKeeper (variable of type *MockStakingKeeper) as type "github.com/cosmos/interchain-security/v2/x/ccv/types".StakingKeeper in argument to providerkeeper.NewKeeper:
lint: x/ccv/provider/handler_test.go#L16
could not import github.com/cosmos/interchain-security/v2/testutil/keeper (-: # github.com/cosmos/interchain-security/v2/testutil/keeper
lint: testutil/keeper/unit_test_helpers.go#L124
cannot use mocks.MockStakingKeeper (variable of type *MockStakingKeeper) as type "github.com/cosmos/interchain-security/v2/x/ccv/types".StakingKeeper in argument to providerkeeper.NewKeeper:
lint: x/ccv/provider/keeper/distribution_test.go#L7
could not import github.com/cosmos/interchain-security/v2/testutil/keeper (-: # github.com/cosmos/interchain-security/v2/testutil/keeper
lint: testutil/keeper/unit_test_helpers.go#L124
cannot use mocks.MockStakingKeeper (variable of type *MockStakingKeeper) as type "github.com/cosmos/interchain-security/v2/x/ccv/types".StakingKeeper in argument to providerkeeper.NewKeeper:
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/interchain-security/interchain-security. Supported file pattern: go.sum