2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
2019-08-16 17:13:04 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
2019-08-22 18:11:52 +00:00
|
|
|
srcs = [
|
2020-09-14 18:42:08 +00:00
|
|
|
"fuzz_p2p.go",
|
2019-08-22 18:11:52 +00:00
|
|
|
"mock_broadcaster.go",
|
2021-01-14 20:48:40 +00:00
|
|
|
"mock_host.go",
|
|
|
|
"mock_metadataprovider.go",
|
2020-06-18 03:53:46 +00:00
|
|
|
"mock_peermanager.go",
|
2019-11-30 05:36:02 +00:00
|
|
|
"mock_peersprovider.go",
|
2019-08-22 18:11:52 +00:00
|
|
|
"p2p.go",
|
|
|
|
],
|
2019-08-16 17:13:04 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/testing",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//fuzz:__pkg__",
|
|
|
|
],
|
2019-08-16 17:13:04 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/p2p/encoder:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
"//beacon-chain/p2p/peers/scorers:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-06-18 03:53:46 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enode:go_default_library",
|
2020-04-14 20:27:03 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_blankhost//:go_default_library",
|
2019-08-29 16:32:52 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//connmgr:go_default_library",
|
2020-06-14 07:35:05 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//control:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//event:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//host:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//peerstore:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//protocol:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_pubsub//:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_swarm//testing:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
2020-06-09 22:40:48 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-08-29 16:32:52 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
],
|
|
|
|
)
|