2018-07-14 02:15:37 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["node.go"],
|
2018-07-20 21:31:26 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/node",
|
2018-07-14 02:15:37 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2018-07-19 16:31:50 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2018-07-14 19:48:42 +00:00
|
|
|
"//beacon-chain/powchain:go_default_library",
|
2018-08-01 22:08:44 +00:00
|
|
|
"//beacon-chain/rpc:go_default_library",
|
2018-07-31 04:41:27 +00:00
|
|
|
"//beacon-chain/simulator:go_default_library",
|
2018-07-25 16:57:44 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2018-08-22 01:52:03 +00:00
|
|
|
"//beacon-chain/sync/initial-sync:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
"//shared:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//shared/cmd:go_default_library",
|
2018-07-30 06:14:50 +00:00
|
|
|
"//shared/database:go_default_library",
|
2018-07-14 03:35:15 +00:00
|
|
|
"//shared/debug:go_default_library",
|
2018-07-28 19:53:02 +00:00
|
|
|
"//shared/p2p:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2018-08-15 04:49:59 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["node_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2018-08-20 15:50:11 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
2018-07-14 02:15:37 +00:00
|
|
|
)
|