2018-08-22 01:52:03 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-03-05 17:31:19 +00:00
|
|
|
srcs = [
|
2019-04-03 15:13:19 +00:00
|
|
|
"helpers.go",
|
2019-03-05 17:31:19 +00:00
|
|
|
"metrics.go",
|
|
|
|
"service.go",
|
2019-04-03 15:13:19 +00:00
|
|
|
"sync_blocks.go",
|
|
|
|
"sync_state.go",
|
2019-03-05 17:31:19 +00:00
|
|
|
],
|
2018-08-22 01:52:03 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/initial-sync",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-04-01 01:44:16 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2018-12-01 22:09:12 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2018-10-09 05:58:54 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2018-11-21 18:00:36 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-03-27 16:15:29 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-12-23 20:34:59 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-03-05 17:31:19 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-03-05 17:31:19 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-04-05 19:48:49 +00:00
|
|
|
"//beacon-chain/core/genesis:go_default_library",
|
2019-02-26 05:37:28 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-12-01 22:09:12 +00:00
|
|
|
"//beacon-chain/internal:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2019-02-06 16:44:27 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2019-04-03 15:13:19 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-12-23 20:34:59 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-03-08 02:37:15 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_peer//:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|