2020-07-10 05:49:56 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2020-10-16 18:45:14 +00:00
|
|
|
"keymanager.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2021-03-16 15:00:05 +00:00
|
|
|
"mock_keymanager.go",
|
2020-07-10 05:49:56 +00:00
|
|
|
],
|
2020-10-15 22:31:52 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote",
|
2020-07-10 05:49:56 +00:00
|
|
|
visibility = [
|
|
|
|
"//validator:__pkg__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-01-22 20:21:34 +00:00
|
|
|
"//shared/event:go_default_library",
|
2021-03-16 15:00:05 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
2020-07-16 05:08:16 +00:00
|
|
|
"@com_github_logrusorgru_aurora//:go_default_library",
|
2020-07-10 05:49:56 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-03-12 00:03:19 +00:00
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
2020-07-10 05:49:56 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-10-16 18:45:14 +00:00
|
|
|
srcs = ["keymanager_test.go"],
|
2020-07-10 05:49:56 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
2021-03-16 15:00:05 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/event:go_default_library",
|
2020-07-10 05:49:56 +00:00
|
|
|
"//shared/mock:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-08-25 15:23:06 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
2020-07-22 19:42:43 +00:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-03-16 15:00:05 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
2020-07-10 05:49:56 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
2021-03-16 15:00:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2020-07-10 05:49:56 +00:00
|
|
|
],
|
|
|
|
)
|