mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
f3a7f399c0
* round tripper with claims * auth * edit auth * test out jwt * passing * jwt flag * comment * passing * commentary * fix up jwt parsing * gaz * update jwt libs * tidy * gaz * lint * tidy up * comment too long Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
127 lines
5.7 KiB
Python
127 lines
5.7 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"accounts.go",
|
|
"auth_token.go",
|
|
"beacon.go",
|
|
"health.go",
|
|
"intercepter.go",
|
|
"log.go",
|
|
"server.go",
|
|
"slashing.go",
|
|
"standard_api.go",
|
|
"wallet.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/rpc",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//api/grpc:go_default_library",
|
|
"//api/pagination:go_default_library",
|
|
"//async/event:go_default_library",
|
|
"//cmd:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//io/logs:go_default_library",
|
|
"//io/prompt:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/accounts/petnames: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/local:go_default_library",
|
|
"//validator/slashing-protection-history:go_default_library",
|
|
"//validator/slashing-protection-history/format:go_default_library",
|
|
"@com_github_fsnotify_fsnotify//:go_default_library",
|
|
"@com_github_golang_jwt_jwt_v4//: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//retry: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_sirupsen_logrus//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//wordlists:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
"@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_google_protobuf//types/known/emptypb:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"accounts_test.go",
|
|
"auth_token_test.go",
|
|
"beacon_test.go",
|
|
"health_test.go",
|
|
"intercepter_test.go",
|
|
"server_test.go",
|
|
"slashing_test.go",
|
|
"standard_api_test.go",
|
|
"wallet_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//cmd/validator/flags:go_default_library",
|
|
"//config/features:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/mock:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/accounts:go_default_library",
|
|
"//validator/accounts/iface:go_default_library",
|
|
"//validator/accounts/testing:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/client:go_default_library",
|
|
"//validator/db/kv:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/derived:go_default_library",
|
|
"//validator/keymanager/local:go_default_library",
|
|
"//validator/keymanager/remote-web3signer:go_default_library",
|
|
"//validator/slashing-protection-history/format:go_default_library",
|
|
"//validator/testing:go_default_library",
|
|
"@com_github_golang_jwt_jwt_v4//:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_google_uuid//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
|
],
|
|
)
|