2023-07-11 09:26:08 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"handlers.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/prysm/node",
|
2023-07-11 09:26:08 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2024-02-03 11:57:01 +00:00
|
|
|
"//api/server/structs:go_default_library",
|
2023-07-11 09:26:08 +00:00
|
|
|
"//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",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-07-11 09:26:08 +00:00
|
|
|
"//proto/prysm/v1alpha1: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_pkg_errors//:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2023-07-11 09:26:08 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2024-02-03 11:57:01 +00:00
|
|
|
srcs = ["handlers_test.go"],
|
2023-07-11 09:26:08 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2024-02-03 11:57:01 +00:00
|
|
|
"//api/server/structs:go_default_library",
|
2023-07-11 09:26:08 +00:00
|
|
|
"//beacon-chain/p2p:go_default_library",
|
|
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
|
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-07-11 09:26:08 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require: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_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",
|
|
|
|
],
|
|
|
|
)
|