Skip to content

upstream: Prague code merge [v1.13.15, v1.14.11] #4497

upstream: Prague code merge [v1.13.15, v1.14.11]

upstream: Prague code merge [v1.13.15, v1.14.11] #4497

Triggered via pull request November 8, 2024 07:16
Status Failure
Total duration 3m 31s
Artifacts

lint.yml

on: pull_request
Matrix: golang-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
golang-lint (1.21.x, ubuntu-latest): accounts/abi/bind/backends/simulated.go#L24
could not import github.com/ethereum/go-ethereum/ethclient/simulated (-: # github.com/ethereum/go-ethereum/ethclient/simulated
golang-lint (1.21.x, ubuntu-latest): ethclient/simulated/backend.go#L124
not enough arguments in call to filters.NewFilterAPI
golang-lint (1.21.x, ubuntu-latest): accounts/abi/bind/util_test.go#L30
could not import github.com/ethereum/go-ethereum/ethclient/simulated (-: # github.com/ethereum/go-ethereum/ethclient/simulated [github.com/ethereum/go-ethereum/accounts/abi/bind.test]
golang-lint (1.21.x, ubuntu-latest): ethclient/simulated/backend.go#L124
not enough arguments in call to filters.NewFilterAPI
golang-lint (1.21.x, ubuntu-latest): cmd/utils/cmd.go#L1
: # github.com/ethereum/go-ethereum/cmd/utils [github.com/ethereum/go-ethereum/cmd/utils.test]
golang-lint (1.21.x, ubuntu-latest): cmd/utils/history_test.go#L165
syntax error: unexpected comma, expected expression (typecheck)
golang-lint (1.21.x, ubuntu-latest): cmd/utils/history_test.go#L165
expected operand, found ',' (typecheck)
golang-lint (1.21.x, ubuntu-latest): cmd/utils/history_test.go#L166
missing ',' in argument list (typecheck)
golang-lint (1.21.x, ubuntu-latest): cmd/utils/history_test.go#L167
missing ',' before newline in composite literal (typecheck)
golang-lint (1.21.x, ubuntu-latest): cmd/utils/history_test.go#L168
missing ',' before newline in argument list (typecheck)
golang-lint (1.21.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golang-lint (1.21.x, ubuntu-latest): core/vote/vote_pool_test.go#L94
receiver-naming: receiver name m should be consistent with previous receiver name p for mockPOSA (revive)
golang-lint (1.21.x, ubuntu-latest): core/vote/vote_pool_test.go#L98
receiver-naming: receiver name m should be consistent with previous receiver name p for mockInvalidPOSA (revive)
golang-lint (1.21.x, ubuntu-latest): core/vote/vote_pool_test.go#L102
receiver-naming: receiver name m should be consistent with previous receiver name p for mockPOSA (revive)
golang-lint (1.21.x, ubuntu-latest): core/vote/vote_pool_test.go#L106
receiver-naming: receiver name m should be consistent with previous receiver name p for mockInvalidPOSA (revive)