mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
d4c954648c
* write file and mkdirall analyzers * include analyzer in build bazel * comments to the single entrypoint and fix validator references * enforce 600 for files, 700 for dirs * pass validator tests * add to nogo * remove references * beaconfuzz * docker img * fix up kv issue * mkdir if not exists * radek comments * final comments * Try to fix file problem Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
95 lines
4.2 KiB
Python
95 lines
4.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"accounts.go",
|
|
"auth.go",
|
|
"health.go",
|
|
"intercepter.go",
|
|
"server.go",
|
|
"wallet.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/rpc",
|
|
visibility = ["//validator:__subpackages__"],
|
|
deps = [
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
"//shared/cmd:go_default_library",
|
|
"//shared/event:go_default_library",
|
|
"//shared/fileutil:go_default_library",
|
|
"//shared/pagination:go_default_library",
|
|
"//shared/petnames:go_default_library",
|
|
"//shared/promptutil:go_default_library",
|
|
"//shared/rand:go_default_library",
|
|
"//shared/timeutils:go_default_library",
|
|
"//shared/traceutil:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/accounts/iface:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/client:go_default_library",
|
|
"//validator/db:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/derived:go_default_library",
|
|
"//validator/keymanager/imported:go_default_library",
|
|
"@com_github_dgrijalva_jwt_go//:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//tracing/opentracing:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
"@org_golang_x_crypto//bcrypt:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"accounts_test.go",
|
|
"auth_test.go",
|
|
"health_test.go",
|
|
"intercepter_test.go",
|
|
"server_test.go",
|
|
"wallet_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/event:go_default_library",
|
|
"//shared/fileutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//shared/timeutils:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/accounts/iface:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/client:go_default_library",
|
|
"//validator/db/testing:go_default_library",
|
|
"//validator/flags:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/derived:go_default_library",
|
|
"//validator/keymanager/imported:go_default_library",
|
|
"@com_github_dgrijalva_jwt_go//:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_google_uuid//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
],
|
|
)
|