2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-07-10 05:49:56 +00:00
|
|
|
|
|
|
|
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 = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"//async/event:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-08-18 21:24:01 +00:00
|
|
|
"//proto/prysm/v1alpha1/validator-client: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 = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"//async/event:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-08-18 21:24:01 +00:00
|
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
2021-09-17 19:20:50 +00:00
|
|
|
"//testing/mock:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/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
|
|
|
],
|
|
|
|
)
|