2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-10-17 03:12:26 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
srcs = [
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-03-24 18:30:21 +00:00
|
|
|
"server.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2019-10-17 03:12:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/rpc",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//shared/attestationutil:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/p2putils:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"//shared/traceutil:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//slasher/beaconclient:go_default_library",
|
2020-03-26 18:31:20 +00:00
|
|
|
"//slasher/db:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"//slasher/detection:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//tracing/opentracing:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
2019-10-17 03:12:26 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
2020-03-26 18:31:20 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2020-03-26 18:31:20 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
2020-03-26 18:31:20 +00:00
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2019-11-18 19:49:39 +00:00
|
|
|
],
|
|
|
|
)
|
2020-03-24 18:30:21 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-03-26 18:31:20 +00:00
|
|
|
srcs = [
|
2020-08-18 12:41:25 +00:00
|
|
|
"rpc_test.go",
|
2020-03-26 18:31:20 +00:00
|
|
|
"server_test.go",
|
|
|
|
"service_test.go",
|
|
|
|
],
|
2020-03-24 18:30:21 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-01-20 21:03:46 +00:00
|
|
|
"//beacon-chain/p2p/types:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2020-05-08 05:51:56 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-05-26 18:33:46 +00:00
|
|
|
"//shared/copyutil:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//shared/mock:go_default_library",
|
|
|
|
"//shared/p2putils:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-08-18 12:41:25 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-08-13 16:22:25 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"//slasher/beaconclient:go_default_library",
|
2020-03-26 18:31:20 +00:00
|
|
|
"//slasher/db/testing:go_default_library",
|
|
|
|
"//slasher/detection:go_default_library",
|
2020-05-05 05:15:32 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-03-24 18:30:21 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|