2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-08-12 17:58:02 +00:00
|
|
|
srcs = ["service.go"],
|
2018-08-22 19:15:21 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/proposer",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
2018-09-05 03:35:32 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2018-09-10 21:14:29 +00:00
|
|
|
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-09-11 17:08:31 +00:00
|
|
|
"@org_golang_x_crypto//blake2b:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-07-17 18:39:04 +00:00
|
|
|
size = "small",
|
2018-07-07 17:23:19 +00:00
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-09-05 03:35:32 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
2018-08-12 17:58:02 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-09-05 03:35:32 +00:00
|
|
|
"//validator/internal:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
2018-08-12 17:58:02 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-27 00:29:28 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|