2022-11-22 04:12:55 -08:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2022-11-07 02:29:27 -08:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2023-03-20 09:32:32 -07:00
|
|
|
srcs = [
|
|
|
|
"grpc_beacon_chain_client.go",
|
|
|
|
"grpc_node_client.go",
|
2023-10-11 18:53:02 +05:30
|
|
|
"grpc_prysm_beacon_chain_client.go",
|
2023-03-20 09:32:32 -07:00
|
|
|
"grpc_validator_client.go",
|
|
|
|
],
|
2023-03-17 11:52:56 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/client/grpc-api",
|
2022-11-07 02:29:27 -08:00
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2023-10-11 18:53:02 +05:30
|
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2023-01-18 13:21:07 -08:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2023-10-11 18:53:02 +05:30
|
|
|
"//consensus-types/validator:go_default_library",
|
|
|
|
"//proto/eth/v1:go_default_library",
|
2022-11-07 02:29:27 -08:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2023-10-09 23:50:29 -05:00
|
|
|
"@com_github_golang_protobuf//ptypes/empty",
|
2022-11-22 04:12:55 -08:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-11-07 02:29:27 -08:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2022-11-22 04:12:55 -08:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
2023-10-11 18:53:02 +05:30
|
|
|
srcs = [
|
|
|
|
"grpc_prysm_beacon_chain_client_test.go",
|
|
|
|
"grpc_validator_client_test.go",
|
|
|
|
],
|
2022-11-22 04:12:55 -08:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2023-10-11 18:53:02 +05:30
|
|
|
"//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 04:12:55 -08:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/mock:go_default_library",
|
2023-10-11 18:53:02 +05:30
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
"//testing/validator-mock:go_default_library",
|
|
|
|
"//validator/client/iface:go_default_library",
|
2022-11-22 04:12:55 -08:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|