fix types #19
Annotations
7 errors and 1 warning
golangci-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]
|
golangci-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
|
golangci-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)
|
golangci-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
|
golangci-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
|
golangci-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)
|
golangci-lint
issues found
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/multi-staking/multi-staking. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading