Skip to content

fix: mempool lane size check on CheckTx #1424

fix: mempool lane size check on CheckTx

fix: mempool lane size check on CheckTx #1424

Triggered via pull request July 2, 2024 19:20
Status Failure
Total duration 49s
Artifacts

lint.yml

on: pull_request
golangci-lint
30s
golangci-lint
govulncheck
41s
govulncheck
Lint markdown
15s
Lint markdown
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 2 warnings
golangci-lint: lanes/mev/testutils/testutil.go#L1
: # github.com/skip-mev/block-sdk/v2/lanes/mev/testutils
golangci-lint: lanes/mev/testutils/testutil.go#L64
cannot use func(tx sdk.Tx) bool {…} (value of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in assignment (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L21
could not import github.com/skip-mev/block-sdk/v2/lanes/mev/testutils (-: # github.com/skip-mev/block-sdk/v2/lanes/mev/testutils
golangci-lint: lanes/mev/testutils/testutil.go#L64
cannot use func(tx sdk.Tx) bool {…} (value of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in assignment) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L31
cannot use new(CheckTxTestSuite) (value of type *CheckTxTestSuite) as suite.TestingSuite value in argument to suite.Run: *CheckTxTestSuite does not implement suite.TestingSuite (missing method SetS) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L36
s.EncCfg undefined (type *CheckTxTestSuite has no field or method EncCfg) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L37
s.Accounts undefined (type *CheckTxTestSuite has no field or method Accounts) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L38
s.GasTokenDenom undefined (type *CheckTxTestSuite has no field or method GasTokenDenom) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L44
s.Require undefined (type *CheckTxTestSuite has no field or method Require) (typecheck)
golangci-lint: abci/checktx/check_tx_test.go#L47
s.EncCfg undefined (type *CheckTxTestSuite has no field or method EncCfg) (typecheck)
govulncheck: lanes/mev/testutils/testutil.go#L64
cannot use (func(tx sdk.Tx) bool literal) (value of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in assignment
govulncheck: block/lane_test.go#L22
cannot use laneMock (variable of type *mocks.Lane) as block.Lane value in assignment: *mocks.Lane does not implement block.Lane (wrong type for method Match)
govulncheck: lanes/base/abci_test.go#L546
cannot use mh (variable of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in array or slice literal
govulncheck: lanes/base/abci_test.go#L1056
cannot use mh (variable of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in array or slice literal
govulncheck: lanes/base/abci_test.go#L1318
cannot use mh (variable of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in array or slice literal
govulncheck: lanes/base/abci_test.go#L1397
cannot use mh (variable of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in array or slice literal
govulncheck: lanes/base/abci_test.go#L1481
cannot use mh (variable of type func(tx "github.com/cosmos/cosmos-sdk/types".Tx) bool) as "github.com/skip-mev/block-sdk/v2/block/base".MatchHandler value in array or slice literal
govulncheck
Process completed with exit code 2.
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/block-sdk/block-sdk. Supported file pattern: go.sum
govulncheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.