mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
75e8f85ba5
* Handle EL offline/unavailable in `getSyncingStatus` * fix type * better name * test fix
71 lines
3.1 KiB
Python
71 lines
3.1 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"node.go",
|
|
"server.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/eth/node",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//api/grpc:go_default_library",
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/execution:go_default_library",
|
|
"//beacon-chain/p2p:go_default_library",
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
|
"//beacon-chain/sync:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//core/peer:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//metadata: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 = [
|
|
"node_test.go",
|
|
"server_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api/grpc:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/p2p:go_default_library",
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//consensus-types/wrapper:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//p2p/enode:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//core/network:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//core/peer:go_default_library",
|
|
"@com_github_libp2p_go_libp2p//p2p/host/peerstore/test:go_default_library",
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
],
|
|
)
|