mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
0d4b98cd0a
* Add REST implementation for Validator's WaitForChainStart * Add missing error mapping * Add missing bazel dependency * Add missing tests * Address PR comments * Replace EventErrorJson with DefaultErrorJson * Add tests for WaitForChainStart * Refactor tests * Address PR comments * Add gazelle:build_tag use_beacon_api comment in BUILD.bazel * Address PR comments * Address PR comments Co-authored-by: Radosław Kapka <rkapka@wp.pl>
29 lines
970 B
Python
29 lines
970 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["grpc_validator_client.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/validator/client/grpc-api",
|
|
visibility = ["//validator:__subpackages__"],
|
|
deps = [
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//validator/client/iface:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
],
|
|
)
|
|
|
|
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",
|
|
],
|
|
)
|