2018-08-01 22:08:44 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
srcs = ["service.go"],
|
2018-08-01 22:08:44 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-08-23 18:53:07 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2019-05-09 00:27:29 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2019-08-13 23:13:47 +00:00
|
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
2019-11-23 03:35:47 +00:00
|
|
|
"//beacon-chain/core/statefeed:go_default_library",
|
2018-11-16 17:01:41 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-07-26 17:07:20 +00:00
|
|
|
"//beacon-chain/operations:go_default_library",
|
2019-08-19 21:20:56 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2019-09-09 21:13:50 +00:00
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2019-11-22 05:11:38 +00:00
|
|
|
"//beacon-chain/rpc/aggregator:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
"//beacon-chain/rpc/attester:go_default_library",
|
|
|
|
"//beacon-chain/rpc/beacon:go_default_library",
|
|
|
|
"//beacon-chain/rpc/node:go_default_library",
|
|
|
|
"//beacon-chain/rpc/proposer:go_default_library",
|
|
|
|
"//beacon-chain/rpc/validator:go_default_library",
|
2019-08-21 20:58:38 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2018-09-05 03:35:32 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-10-07 23:59:08 +00:00
|
|
|
"//shared/traceutil:go_default_library",
|
2019-03-11 01:19:52 +00:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
2019-09-29 18:48:55 +00:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//tracing/opentracing:go_default_library",
|
2019-03-26 16:26:47 +00:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
2019-11-27 05:08:18 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-02-28 03:55:47 +00:00
|
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2018-08-08 22:43:25 +00:00
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
2019-01-13 16:58:52 +00:00
|
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-07-21 19:34:36 +00:00
|
|
|
size = "medium",
|
2019-11-12 17:01:27 +00:00
|
|
|
srcs = ["service_test.go"],
|
2018-08-01 22:08:44 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-08-26 20:06:16 +00:00
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2019-09-09 21:13:50 +00:00
|
|
|
"//beacon-chain/powchain/testing:go_default_library",
|
2019-09-20 17:54:32 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2018-08-18 03:34:56 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|