2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-11-12 17:01:27 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["server.go"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/prysm/v1alpha1/node",
|
2019-11-12 17:01:27 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
2022-08-01 14:43:47 +00:00
|
|
|
"//beacon-chain/execution:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/logs: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",
|
2023-10-10 04:50:29 +00:00
|
|
|
"@com_github_golang_protobuf//ptypes/empty",
|
|
|
|
"@com_github_golang_protobuf//ptypes/timestamp",
|
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",
|
2019-11-12 17:01:27 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2021-05-28 06:57:47 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["server_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2020-06-18 03:53:46 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
2019-11-30 05:36:02 +00:00
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2022-01-14 16:13:04 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil: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",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2020-06-18 03:53:46 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enode:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
2019-11-12 17:01:27 +00:00
|
|
|
],
|
|
|
|
)
|