Skip to content

bugfix: fix state prefetcher concurrent bugs; #266

bugfix: fix state prefetcher concurrent bugs;

bugfix: fix state prefetcher concurrent bugs; #266

Triggered via push September 25, 2023 07:06
Status Failure
Total duration 5m 38s
Artifacts

lint.yml

on: push
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: