2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-14 06:11:11 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"node.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
2021-07-02 15:54:52 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/v1/node",
|
2020-10-14 06:11:11 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2021-01-20 15:52:33 +00:00
|
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-05-25 01:02:01 +00:00
|
|
|
"//proto/migration:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//shared/grpcutils:go_default_library",
|
2021-01-05 21:06:51 +00:00
|
|
|
"//shared/version:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2021-01-12 16:20:20 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-01-05 21:06:51 +00:00
|
|
|
srcs = [
|
|
|
|
"node_test.go",
|
|
|
|
"server_test.go",
|
|
|
|
],
|
2020-10-14 06:11:11 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-01-05 21:06:51 +00:00
|
|
|
deps = [
|
2021-01-12 17:17:20 +00:00
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2021-01-20 15:52:33 +00:00
|
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-07-13 18:58:43 +00:00
|
|
|
"//proto/beacon/p2p/v1/wrapper:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//shared/grpcutils:go_default_library",
|
2021-01-12 17:17:20 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2021-01-05 21:06:51 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//shared/version:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enode:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"@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_peerstore//test:go_default_library",
|
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-01-14 20:48:40 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2021-01-05 21:06:51 +00:00
|
|
|
],
|
2020-10-14 06:11:11 +00:00
|
|
|
)
|