2022-11-22 12:12:55 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2022-11-07 10:29:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["grpc_validator_client.go"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/client/grpc-api",
|
2022-11-07 10:29:27 +00:00
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2023-01-18 21:21:07 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2022-11-22 12:12:55 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["grpc_validator_client_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/mock:go_default_library",
|
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|