2020-10-14 06:11:11 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"node.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/nodev1",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/p2p:go_default_library",
|
|
|
|
"//beacon-chain/sync:go_default_library",
|
2021-01-05 21:06:51 +00:00
|
|
|
"//shared/version:go_default_library",
|
2020-10-14 06:11:11 +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-01-06 20:11:20 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2021-01-12 16:20:20 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
2020-10-14 06:11:11 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-01-05 21:06:51 +00:00
|
|
|
srcs = [
|
|
|
|
"node_test.go",
|
|
|
|
"server_test.go",
|
|
|
|
],
|
2020-10-14 06:11:11 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-01-05 21:06:51 +00:00
|
|
|
deps = [
|
2021-01-12 17:17:20 +00:00
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2021-01-06 20:11:20 +00:00
|
|
|
"//beacon-chain/sync/initial-sync/testing:go_default_library",
|
2021-01-12 17:17:20 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2021-01-05 21:06:51 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//shared/version:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
|
|
],
|
2020-10-14 06:11:11 +00:00
|
|
|
)
|