fix: mempool lane size check on CheckTx
#1433
Annotations
20 errors and 2 warnings
govulncheck
missing go.sum entry for module providing package github.com/golang/protobuf/ptypes/duration (imported by github.com/cometbft/cometbft/proto/tendermint/types); to add:
|
govulncheck
could not import github.com/golang/protobuf/ptypes/duration (invalid package name: "")
|
govulncheck
missing go.sum entry for module providing package github.com/cespare/xxhash/v2 (imported by github.com/prometheus/client_golang/prometheus); to add:
|
govulncheck
could not import github.com/cespare/xxhash/v2 (invalid package name: "")
|
govulncheck
v2 already declared through import of package v2 ("github.com/cespare/xxhash/v2")
|
govulncheck
other declaration of v2
|
govulncheck
v2 already declared through import of package v2 ("github.com/cespare/xxhash/v2")
|
govulncheck
other declaration of v2
|
govulncheck
use of package v2 not in selector
|
govulncheck
undefined: xxhash
|
golangci-lint:
block/mempool.go#L77
lane.CountTx undefined (type Lane has no field or method CountTx) (typecheck)
|
golangci-lint:
block/mempool.go#L66
lane.CountTx undefined (type Lane has no field or method CountTx) (typecheck)
|
golangci-lint:
block/mempool.go#L96
lane.Insert undefined (type Lane has no field or method Insert) (typecheck)
|
golangci-lint:
block/mempool.go#L125
lane.Remove undefined (type Lane has no field or method Remove) (typecheck)
|
golangci-lint:
block/base/abci.go#L167
catchCtx declared and not used (typecheck)
|
golangci-lint:
block/base/mempool.go#L58
cm.index.Insert undefined (type MempoolInterface has no field or method Insert) (typecheck)
|
golangci-lint:
block/base/mempool.go#L67
cm.index.Remove undefined (type MempoolInterface has no field or method Remove) (typecheck)
|
golangci-lint:
block/base/mempool.go#L79
cm.index.Select undefined (type MempoolInterface has no field or method Select) (typecheck)
|
golangci-lint:
block/base/mempool.go#L84
cm.index.CountTx undefined (type MempoolInterface has no field or method CountTx) (typecheck)
|
golangci-lint:
block/base/proposals.go#L39
h.lane.Select undefined (type *BaseLane has no field or method Select) (typecheck)
|
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/.
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/block-sdk/block-sdk. Supported file pattern: go.sum
|