Skip to content

feat: api support

feat: api support #22

Triggered via pull request August 12, 2024 08:04
Status Failure
Total duration 3m 4s
Artifacts

lint.yml

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

Annotations

10 errors and 1 warning
golang-lint (1.21.x, ubuntu-latest): eth/gasestimator/gasestimator.go#L27
could not import github.com/ethereum/go-ethereum/core (-: # github.com/ethereum/go-ethereum/core
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L511
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L566
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): core/txpool/subpool.go#L24
could not import github.com/ethereum/go-ethereum/core (-: # github.com/ethereum/go-ethereum/core
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L511
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L566
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): eth/downloader/api.go#L26
could not import github.com/ethereum/go-ethereum/core (-: # github.com/ethereum/go-ethereum/core
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L511
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): core/headerchain.go#L566
too many arguments in call to hc.blockArchiverService.GetBlockByNumber
golang-lint (1.21.x, ubuntu-latest): eth/downloader/fetchers_concurrent_headers.go#L22
"github.com/ethereum/go-ethereum/common" imported and not used (typecheck)
golang-lint (1.21.x, ubuntu-latest)
The following actions uses Node.js version which is deprecated 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/