2018-07-26 01:57:44 +09:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-12-10 13:26:44 +08:00
|
|
|
srcs = [
|
|
|
|
"querier.go",
|
|
|
|
"regular_sync.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2018-07-26 01:57:44 +09:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync",
|
2018-07-26 01:13:07 -04:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
2018-07-26 01:57:44 +09:00
|
|
|
deps = [
|
2018-12-22 15:30:59 -05:00
|
|
|
"//beacon-chain/core/attestations:go_default_library",
|
2018-12-01 16:09:12 -06:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-12-10 13:26:44 +08:00
|
|
|
"//beacon-chain/sync/initial-sync:go_default_library",
|
2018-07-31 13:54:45 -05:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 03:53:58 +01:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2018-10-02 21:49:01 -04:00
|
|
|
"//shared/event:go_default_library",
|
2019-01-14 11:41:20 -05:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-07-28 15:53:02 -04:00
|
|
|
"//shared/p2p:go_default_library",
|
2019-02-07 00:44:27 +08:00
|
|
|
"//shared/params:go_default_library",
|
2018-12-23 15:34:59 -05:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-07-26 01:57:44 +09:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-09-20 17:16:35 +05:30
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2018-07-26 01:57:44 +09:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-12-10 13:26:44 +08:00
|
|
|
srcs = [
|
|
|
|
"querier_test.go",
|
|
|
|
"regular_sync_test.go",
|
|
|
|
],
|
2018-07-26 01:57:44 +09:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-03 16:44:48 -06:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-10-06 02:14:50 +09:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-11-07 14:07:41 -05:00
|
|
|
"//beacon-chain/internal:go_default_library",
|
2018-07-31 13:54:45 -05:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-10-02 21:49:01 -04:00
|
|
|
"//shared/event:go_default_library",
|
2018-10-13 22:32:29 -04:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-07-28 15:53:02 -04:00
|
|
|
"//shared/p2p:go_default_library",
|
2019-01-01 09:17:44 -08:00
|
|
|
"//shared/params:go_default_library",
|
2018-07-26 01:57:44 +09:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-12-23 15:34:59 -05:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-08-23 22:09:59 -06:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-26 01:57:44 +09:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|