2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-02-22 22:48:49 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2023-10-25 18:12:58 +00:00
|
|
|
"handlers.go",
|
2021-02-22 22:48:49 +00:00
|
|
|
"server.go",
|
2023-10-25 18:12:58 +00:00
|
|
|
"structs.go",
|
2021-02-22 22:48:49 +00:00
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/debug",
|
2023-10-25 18:12:58 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-02-22 22:48:49 +00:00
|
|
|
deps = [
|
2023-10-25 18:12:58 +00:00
|
|
|
"//api:go_default_library",
|
2021-04-14 17:01:24 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2021-02-22 22:48:49 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2021-08-20 21:32:56 +00:00
|
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
2023-10-25 18:12:58 +00:00
|
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
2023-10-25 18:12:58 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//network/http:go_default_library",
|
|
|
|
"//proto/engine/v1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2023-10-25 18:12:58 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-04-14 17:01:24 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-03-29 21:04:35 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2023-11-03 15:33:46 +00:00
|
|
|
srcs = ["handlers_test.go"],
|
2021-03-29 21:04:35 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2023-10-25 18:12:58 +00:00
|
|
|
"//api:go_default_library",
|
2021-04-14 17:01:24 +00:00
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2022-03-25 16:31:50 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2022-08-26 14:54:32 +00:00
|
|
|
"//beacon-chain/forkchoice/doubly-linked-tree:go_default_library",
|
|
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
2021-03-29 21:04:35 +00:00
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2023-10-25 18:12:58 +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",
|
2023-11-03 15:33:46 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2023-10-25 18:12:58 +00:00
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
2021-02-22 22:48:49 +00:00
|
|
|
],
|
|
|
|
)
|