Headers fetching via NeoFS BlockFetcher service #1968
Annotations
10 errors
golangci-lint:
pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
|
golangci-lint:
pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
|
golangci-lint:
pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
|
golangci-lint:
pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
|
golangci-lint:
pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
|
golangci-lint:
pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
|
golangci-lint:
pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
|
golangci-lint:
pkg/network/server_test.go#L215
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
|
golangci-lint:
pkg/network/server_test.go#L252
impossible type assertion: s.chain.(*fakechain.FakeChain)
|
golangci-lint:
pkg/network/server_test.go#L419
impossible type assertion: s.chain.(*fakechain.FakeChain)
|
Loading