2019-02-03 23:05:34 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-04-05 21:55:11 +00:00
|
|
|
srcs = [
|
|
|
|
"service.go",
|
|
|
|
"vote_metrics.go",
|
|
|
|
],
|
2019-02-03 23:05:34 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/attestation",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-04-17 03:08:55 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2019-03-18 03:57:12 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-02-03 23:05:34 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bitutil:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/event:go_default_library",
|
2019-04-17 03:08:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-03-10 22:53:28 +00:00
|
|
|
"//shared/messagehandler:go_default_library",
|
2019-03-25 15:21:21 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-03 23:05:34 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-04-05 21:55:11 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2019-02-03 23:05:34 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-04-17 03:08:55 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2019-02-03 23:05:34 +00:00
|
|
|
"//beacon-chain/internal:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-04-17 03:08:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-02-03 23:05:34 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|