2021-03-29 21:04:35 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2021-02-22 22:48:49 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"debug.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/debugv1",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/db:go_default_library",
|
2021-03-29 21:04:35 +00:00
|
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
2021-02-22 22:48:49 +00:00
|
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1: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",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["debug_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
2021-02-22 22:48:49 +00:00
|
|
|
],
|
|
|
|
)
|