2018-08-12 17:58:02 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["service.go"],
|
2018-08-22 19:15:21 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/beacon",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
2018-08-12 17:58:02 +00:00
|
|
|
deps = [
|
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2018-10-14 15:29:57 +00:00
|
|
|
"//shared/slotticker:go_default_library",
|
2018-09-21 14:32:20 +00:00
|
|
|
"//validator/params:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
|
2018-08-12 17:58:02 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
2018-08-22 19:15:21 +00:00
|
|
|
"//validator/internal:go_default_library",
|
2018-08-12 17:58:02 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
2018-09-21 14:32:20 +00:00
|
|
|
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
|
2018-08-12 17:58:02 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
|
|
],
|
|
|
|
)
|