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 = [
|
|
|
|
"debug.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
2021-08-16 11:11:25 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/debug",
|
2021-02-22 22:48:49 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
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",
|
2021-03-29 21:04:35 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-09-22 17:59:06 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-09-02 19:28:55 +00:00
|
|
|
"//beacon-chain/state/v2:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-08-14 16:41:03 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-09-02 19:28:55 +00:00
|
|
|
"//proto/migration:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version: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
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@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",
|
2021-03-29 21:04:35 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["debug_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-04-14 17:01:24 +00:00
|
|
|
"//beacon-chain/blockchain/testing: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",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-09-02 19:28:55 +00:00
|
|
|
"//proto/eth/v2: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-04-14 17:01:24 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2021-02-22 22:48:49 +00:00
|
|
|
],
|
|
|
|
)
|