mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
27b4e32e1c
* WIP * fixing tests * fixing bazel * fixing api client * fixing tests * fixing more tests and bazel * fixing trace and more bazel issues * fixing router path function definitions * fixing more tests and deep source issues * adding delete test * if a route is provided, reregister before the catch all on the middleware. * fixing linting * fixing deepsource complaint * gaz * more deepsource issues * fixing missed err check * changing how routes are registered * radek reviews * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * Update validator/rpc/handlers_keymanager.go Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com> * fixing unit test after sammy's review * adding radek's comments --------- Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
86 lines
3.7 KiB
Python
86 lines
3.7 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["node_test.go"],
|
|
data = glob(["testdata/**"]),
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//cmd/validator/flags:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//config/validator/service:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/db/iface:go_default_library",
|
|
"//validator/db/testing:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/remote-web3signer:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"log.go",
|
|
"node.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/node",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//api/gateway:go_default_library",
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
"//api/server:go_default_library",
|
|
"//async/event:go_default_library",
|
|
"//cmd:go_default_library",
|
|
"//cmd/validator/flags:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//config/validator/service:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//container/slice:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//monitoring/backup:go_default_library",
|
|
"//monitoring/prometheus:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//runtime:go_default_library",
|
|
"//runtime/debug:go_default_library",
|
|
"//runtime/prereqs:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/client:go_default_library",
|
|
"//validator/db/iface:go_default_library",
|
|
"//validator/db/kv:go_default_library",
|
|
"//validator/graffiti:go_default_library",
|
|
"//validator/keymanager/local:go_default_library",
|
|
"//validator/keymanager/remote-web3signer:go_default_library",
|
|
"//validator/rpc:go_default_library",
|
|
"//validator/web:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
"@io_k8s_apimachinery//pkg/util/yaml:go_default_library",
|
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
|
],
|
|
)
|