mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
6a0db800b3
* Add http endpoint for GetValidatorPerformance * Add tests * fix up client usage * Revert changes * refactor to reuse code * Move endpoint + move ComputeValidatorPerformance * Radek's comment change * Add Bazel file * Change endpoint path * Add server for http endpoints * Fix server * Create core package * Gaz * Add correct error code * Fix error code in test * Adding errors * Fix errors * Fix default GRPC error * Change http errors to core ones * Use error status without helper * Fix * Capitalize GRPC error messages --------- Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
26 lines
979 B
Python
26 lines
979 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"errors.go",
|
|
"validator.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/core",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/time:go_default_library",
|
|
"//beacon-chain/core/transition:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
],
|
|
)
|