Skip to content

fix types

fix types #19

Triggered via pull request January 14, 2024 10:21
Status Failure
Total duration 22s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: testing/simapp/ante_handler.go#L1
: # github.com/realio-tech/multi-staking-module/testing/simapp [github.com/realio-tech/multi-staking-module/testing/simapp.test]
lint: testing/simapp/test_helpers.go#L149
cannot use &lockId (value of type *"github.com/realio-tech/multi-staking-module/x/multi-staking/types".LockID) as type "github.com/realio-tech/multi-staking-module/x/multi-staking/types".LockID in argument to multistakingtypes.NewMultiStakingLock
lint: testing/simapp/test_helpers.go#L185
cannot use stakingGenesis (variable of type *"github.com/cosmos/cosmos-sdk/x/staking/types".GenesisState) as type "github.com/cosmos/cosmos-sdk/x/staking/types".GenesisState in struct literal (typecheck)
lint: x/multi-staking/keeper/keeper_test.go#L6
could not import github.com/realio-tech/multi-staking-module/testing/simapp (-: # github.com/realio-tech/multi-staking-module/testing/simapp
lint: testing/simapp/test_helpers.go#L149
cannot use &lockId (value of type *"github.com/realio-tech/multi-staking-module/x/multi-staking/types".LockID) as type "github.com/realio-tech/multi-staking-module/x/multi-staking/types".LockID in argument to multistakingtypes.NewMultiStakingLock
lint: testing/simapp/test_helpers.go#L185
cannot use stakingGenesis (variable of type *"github.com/cosmos/cosmos-sdk/x/staking/types".GenesisState) as type "github.com/cosmos/cosmos-sdk/x/staking/types".GenesisState in struct literal) (typecheck)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/multi-staking/multi-staking. Supported file pattern: go.sum