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",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/node",
|
2020-10-14 06:11:11 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/grpc:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
2023-02-23 12:09:56 +00:00
|
|
|
"//beacon-chain/execution:go_default_library",
|
2020-10-14 06:11:11 +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/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-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2022-10-07 07:24:51 +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-09-16 19:55:51 +00:00
|
|
|
"//api/grpc:go_default_library",
|
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",
|
2023-02-23 12:09:56 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-02 15:43:40 +00:00
|
|
|
"//consensus-types/wrapper:go_default_library",
|
2021-08-13 10:55:24 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util: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",
|
2022-10-07 07:24:51 +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//p2p/host/peerstore/test:go_default_library",
|
2021-01-14 16:26:16 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//: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
|
|
|
)
|