2018-09-24 01:22:09 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
srcs = ["service.go"],
|
2018-09-24 01:22:09 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/attestation",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2018-10-05 17:14:50 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2018-12-22 20:30:59 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-10-03 01:49:01 +00:00
|
|
|
"//shared/event:go_default_library",
|
2018-12-22 20:30:59 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
2018-09-24 01:22:09 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-10-05 17:14:50 +00:00
|
|
|
srcs = ["service_test.go"],
|
2018-09-24 01:22:09 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-11-07 19:07:41 +00:00
|
|
|
"//beacon-chain/internal:go_default_library",
|
2018-12-22 20:30:59 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-09-24 01:22:09 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-10-22 21:04:17 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-09-24 01:22:09 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|