Skip to content

bugfix: fix state prefetcher concurrent bugs; #265

bugfix: fix state prefetcher concurrent bugs;

bugfix: fix state prefetcher concurrent bugs; #265

Triggered via pull request September 22, 2023 07:54
Status Failure
Total duration 5m 45s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

10 errors
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/addrlock.go#L1
: # github.com/ethereum/go-ethereum/internal/ethapi [github.com/ethereum/go-ethereum/internal/ethapi.test]
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L565
cannot use newTestBackend(t, genBlocks, genesis, func(i int, b *core.BlockGen) {…}) (value of type *testBackend) as type Backend in argument to NewBlockChainAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L668
cannot use newTestBackend(t, genBlocks, genesis, func(i int, b *core.BlockGen) {…}) (value of type *testBackend) as type Backend in argument to NewBlockChainAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L1857
cannot use backend (variable of type *testBackend) as type Backend in argument to NewTransactionAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/transaction_args_test.go#L197
cannot use b (variable of type *backendMock) as type Backend in argument to got.setFeeDefaults:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/transaction_options_test.go#L10
could not import github.com/ethereum/go-ethereum/internal/ethapi (-: # github.com/ethereum/go-ethereum/internal/ethapi [github.com/ethereum/go-ethereum/internal/ethapi.test]
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L565
cannot use newTestBackend(t, genBlocks, genesis, func(i int, b *core.BlockGen) {…}) (value of type *testBackend) as type Backend in argument to NewBlockChainAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L668
cannot use newTestBackend(t, genBlocks, genesis, func(i int, b *core.BlockGen) {…}) (value of type *testBackend) as type Backend in argument to NewBlockChainAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/api_test.go#L1857
cannot use backend (variable of type *testBackend) as type Backend in argument to NewTransactionAPI:
golang-lint (1.19.x, ubuntu-latest): internal/ethapi/transaction_args_test.go#L197
cannot use b (variable of type *backendMock) as type Backend in argument to got.setFeeDefaults: