2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-05-20 15:23:22 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2021-01-22 23:12:22 +00:00
|
|
|
"cli_export.go",
|
|
|
|
"cli_import.go",
|
2020-05-20 15:23:22 +00:00
|
|
|
"external.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-05-20 15:23:22 +00:00
|
|
|
"slasher_client.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/slashing-protection",
|
2021-03-02 18:58:40 +00:00
|
|
|
visibility = [
|
|
|
|
"//cmd/validator:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-05-20 15:23:22 +00:00
|
|
|
deps = [
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator/flags:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//shared/cmd:go_default_library",
|
|
|
|
"//shared/fileutil:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
"//shared/grpcutils:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//validator/accounts/prompt:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
"//validator/slashing-protection/local/standard-protection-format:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//retry: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",
|
2021-01-22 23:12:22 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2020-07-27 20:06:49 +00:00
|
|
|
"@org_golang_google_grpc//connectivity:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-01-22 23:12:22 +00:00
|
|
|
srcs = [
|
|
|
|
"cli_import_export_test.go",
|
|
|
|
"external_test.go",
|
2021-01-28 14:58:32 +00:00
|
|
|
"slasher_client_test.go",
|
2021-01-22 23:12:22 +00:00
|
|
|
],
|
2020-05-20 15:23:22 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator/flags:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-08-27 18:13:32 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//shared/cmd:go_default_library",
|
|
|
|
"//shared/fileutil:go_default_library",
|
2020-07-23 01:13:52 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//validator/db/kv:go_default_library",
|
|
|
|
"//validator/db/testing:go_default_library",
|
|
|
|
"//validator/slashing-protection/local/standard-protection-format/format:go_default_library",
|
2020-06-23 16:46:48 +00:00
|
|
|
"//validator/testing:go_default_library",
|
2021-01-22 23:12:22 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2021-01-28 14:58:32 +00:00
|
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
2020-05-20 15:23:22 +00:00
|
|
|
],
|
|
|
|
)
|