Use p2p.Network
#1388
Annotations
23 errors and 1 warning
Lint:
peer/client.go#L1
: # github.com/ava-labs/coreth/peer [github.com/ava-labs/coreth/peer.test]
|
Lint:
peer/network_test.go#L57
cannot use &testSDKHandler{} (value of type *testSDKHandler) as "github.com/ava-labs/avalanchego/network/p2p".Handler value in variable declaration: *testSDKHandler does not implement "github.com/ava-labs/avalanchego/network/p2p".Handler (wrong type for method AppGossip)
|
Lint:
peer/network_test.go#L829
p2pNetwork.NewAppProtocol undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method NewAppProtocol)
|
Lint:
peer/network.go#L548
n.network.NewAppProtocol undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method NewAppProtocol) (typecheck)
|
Lint:
plugin/evm/gossiper.go#L14
could not import github.com/ava-labs/coreth/peer (-: # github.com/ava-labs/coreth/peer
|
Lint:
peer/network.go#L548
n.network.NewAppProtocol undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method NewAppProtocol)) (typecheck)
|
Lint:
plugin/evm/vm.go#L113
cannot use &VM{} (value of type *VM) as block.ChainVM value in variable declaration: *VM does not implement block.ChainVM (missing method AppGossip) (typecheck)
|
Lint:
plugin/evm/vm.go#L575
p2pNetwork.Peers undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method Peers) (typecheck)
|
Lint:
plugin/evm/vm.go#L1069
unknown field Log in struct literal of type "github.com/ava-labs/avalanchego/network/p2p".ThrottlerHandler (typecheck)
|
Lint:
plugin/evm/vm.go#L1071
unknown field Log in struct literal of type "github.com/ava-labs/avalanchego/network/p2p".ValidatorHandler (typecheck)
|
Golang Unit Tests v (ubuntu-20.04):
peer/network.go#L548
n.network.NewAppProtocol undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method NewAppProtocol)
|
Golang Unit Tests v (ubuntu-20.04)
Process completed with exit code 1.
|
Golang Unit Tests Race Detection v (ubuntu-20.04):
peer/network.go#L548
n.network.NewAppProtocol undefined (type *"github.com/ava-labs/avalanchego/network/p2p".Network has no field or method NewAppProtocol)
|
Golang Unit Tests Race Detection v (ubuntu-20.04)
Process completed with exit code 1.
|
Golang Unit Tests v (windows-latest)
The job was canceled because "ubuntu-20_04" failed.
|
Golang Unit Tests v (windows-latest)
The operation was canceled.
|
Golang Unit Tests v (macos-11.0)
The job was canceled because "ubuntu-20_04" failed.
|
Golang Unit Tests v (macos-11.0)
The operation was canceled.
|
AvalancheGo E2E Tests v (ubuntu-20.04)
undefined: p2p.ClientOption
|
AvalancheGo E2E Tests v (ubuntu-20.04)
undefined: p2p.Network
|
AvalancheGo E2E Tests v (ubuntu-20.04)
undefined: p2p.Network
|
AvalancheGo E2E Tests v (ubuntu-20.04)
undefined: p2p.ClientOption
|
AvalancheGo E2E Tests v (ubuntu-20.04)
Process completed with exit code 1.
|
AvalancheGo E2E Tests v (ubuntu-20.04)
No files were found with the provided path: ~/.testnetctl/networks/1000. No artifacts will be uploaded.
|