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",
|
2023-03-20 16:32:32 +00:00
|
|
|
srcs = [
|
|
|
|
"grpc_beacon_chain_client.go",
|
|
|
|
"grpc_node_client.go",
|
2023-10-11 13:23:02 +00:00
|
|
|
"grpc_prysm_beacon_chain_client.go",
|
2023-03-20 16:32:32 +00:00
|
|
|
"grpc_validator_client.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/validator/client/grpc-api",
|
2022-11-07 10:29:27 +00:00
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2024-03-13 13:01:05 +00:00
|
|
|
"//api/client:go_default_library",
|
|
|
|
"//api/client/beacon:go_default_library",
|
|
|
|
"//api/client/event:go_default_library",
|
|
|
|
"//api/server/structs:go_default_library",
|
2023-10-11 13:23:02 +00:00
|
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2023-01-18 21:21:07 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2023-10-11 13:23:02 +00:00
|
|
|
"//consensus-types/validator:go_default_library",
|
|
|
|
"//proto/eth/v1:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2023-10-10 04:50:29 +00:00
|
|
|
"@com_github_golang_protobuf//ptypes/empty",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2024-03-13 13:01:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2022-11-22 12:12:55 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
2023-10-11 13:23:02 +00:00
|
|
|
srcs = [
|
|
|
|
"grpc_prysm_beacon_chain_client_test.go",
|
|
|
|
"grpc_validator_client_test.go",
|
|
|
|
],
|
2022-11-22 12:12:55 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2024-03-13 13:01:05 +00:00
|
|
|
"//api/client/event:go_default_library",
|
|
|
|
"//api/server/structs:go_default_library",
|
2023-10-11 13:23:02 +00:00
|
|
|
"//config/params:go_default_library",
|
|
|
|
"//consensus-types/primitives:go_default_library",
|
|
|
|
"//consensus-types/validator:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/mock:go_default_library",
|
2023-10-11 13:23:02 +00:00
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
"//testing/validator-mock:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2024-03-13 13:01:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2024-02-21 18:37:17 +00:00
|
|
|
"@org_uber_go_mock//gomock:go_default_library",
|
2022-11-22 12:12:55 +00:00
|
|
|
],
|
|
|
|
)
|