2019-08-16 17:13:04 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2019-08-16 20:03:11 +00:00
|
|
|
"deadlines.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"doc.go",
|
2019-08-16 20:03:11 +00:00
|
|
|
"error.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"log.go",
|
|
|
|
"metrics.go",
|
|
|
|
"rpc.go",
|
2019-08-20 19:06:49 +00:00
|
|
|
"rpc_beacon_blocks.go",
|
2019-08-23 16:53:38 +00:00
|
|
|
"rpc_goodbye.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"rpc_hello.go",
|
2019-08-23 17:10:25 +00:00
|
|
|
"rpc_recent_beacon_blocks.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"service.go",
|
|
|
|
"subscriber.go",
|
2019-08-23 19:46:04 +00:00
|
|
|
"subscriber_beacon_attestation.go",
|
2019-08-22 18:11:52 +00:00
|
|
|
"subscriber_beacon_blocks.go",
|
2019-08-22 05:34:25 +00:00
|
|
|
"subscriber_handlers.go",
|
|
|
|
"validate_attester_slashing.go",
|
2019-08-23 19:46:04 +00:00
|
|
|
"validate_beacon_attestation.go",
|
2019-08-22 18:11:52 +00:00
|
|
|
"validate_beacon_blocks.go",
|
2019-08-22 14:31:56 +00:00
|
|
|
"validate_proposer_slashing.go",
|
2019-08-18 15:33:58 +00:00
|
|
|
"validate_voluntary_exit.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-08-21 20:58:38 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2019-08-18 15:33:58 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2019-08-22 18:11:52 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-08-23 17:48:40 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-08-20 19:06:49 +00:00
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2019-08-18 15:33:58 +00:00
|
|
|
"//beacon-chain/operations:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-08-18 15:33:58 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//shared:go_default_library",
|
2019-08-22 18:11:52 +00:00
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-08-22 05:34:25 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//shared/roughtime:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-08-18 15:33:58 +00:00
|
|
|
"@com_github_karlseguin_ccache//:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
2019-08-20 19:06:49 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-08-22 18:11:52 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
2019-08-16 20:03:11 +00:00
|
|
|
"error_test.go",
|
2019-08-20 19:06:49 +00:00
|
|
|
"rpc_beacon_blocks_test.go",
|
2019-08-23 16:53:38 +00:00
|
|
|
"rpc_goodbye_test.go",
|
2019-08-16 20:03:11 +00:00
|
|
|
"rpc_hello_test.go",
|
2019-08-23 17:10:25 +00:00
|
|
|
"rpc_recent_beacon_blocks_test.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"rpc_test.go",
|
2019-08-23 17:48:40 +00:00
|
|
|
"service_test.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
"subscriber_test.go",
|
2019-08-23 19:46:04 +00:00
|
|
|
"validate_attester_slashing_test.go",
|
|
|
|
"validate_beacon_attestation_test.go",
|
2019-08-22 18:11:52 +00:00
|
|
|
"validate_beacon_blocks_test.go",
|
2019-08-22 14:31:56 +00:00
|
|
|
"validate_proposer_slashing_test.go",
|
2019-08-18 15:33:58 +00:00
|
|
|
"validate_voluntary_exit_test.go",
|
2019-08-16 17:13:04 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2019-08-16 20:03:11 +00:00
|
|
|
flaky = True, # libp2p hosts are flaky upstream.
|
2019-08-16 17:13:04 +00:00
|
|
|
deps = [
|
2019-08-18 15:33:58 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
|
|
"//proto/testing:go_default_library",
|
2019-08-18 15:33:58 +00:00
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//:go_default_library",
|
2019-08-16 20:03:11 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//protocol:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2019-08-16 17:13:04 +00:00
|
|
|
],
|
|
|
|
)
|