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",
|
2018-08-29 16:32:54 +00:00
|
|
|
srcs = [
|
2019-04-27 19:08:27 +00:00
|
|
|
"fetch_contract_address.go",
|
2018-08-29 16:32:54 +00:00
|
|
|
"node.go",
|
|
|
|
"p2p_config.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 = [
|
2019-03-06 21:03:52 +00:00
|
|
|
"//beacon-chain/attestation:go_default_library",
|
2018-07-19 16:31:50 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2019-08-21 16:04:00 +00:00
|
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
2018-10-05 17:14:50 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
2019-08-22 01:14:24 +00:00
|
|
|
"//beacon-chain/deprecated-blockchain:go_default_library",
|
2019-08-13 16:35:34 +00:00
|
|
|
"//beacon-chain/deprecated-sync:go_default_library",
|
2019-07-23 13:58:20 +00:00
|
|
|
"//beacon-chain/flags:go_default_library",
|
2019-06-02 15:33:44 +00:00
|
|
|
"//beacon-chain/gateway:go_default_library",
|
2019-01-31 18:54:24 +00:00
|
|
|
"//beacon-chain/operations:go_default_library",
|
2019-08-19 21:20:56 +00:00
|
|
|
"//beacon-chain/p2p: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",
|
2019-08-21 16:04:00 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2019-08-30 20:15:40 +00:00
|
|
|
"//beacon-chain/sync/initial-sync:go_default_library",
|
2018-08-29 16:32:54 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-08-09 23:31:44 +00:00
|
|
|
"//proto/eth/v1alpha1: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-14 03:35:15 +00:00
|
|
|
"//shared/debug:go_default_library",
|
2019-08-13 18:52:04 +00:00
|
|
|
"//shared/deprecated-p2p:go_default_library",
|
|
|
|
"//shared/deprecated-p2p/adapter/metric:go_default_library",
|
2019-03-21 02:57:25 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2018-11-18 16:39:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2018-11-15 12:54:45 +00:00
|
|
|
"//shared/prometheus:go_default_library",
|
2019-02-28 03:55:47 +00:00
|
|
|
"//shared/tracing:go_default_library",
|
2019-01-10 04:19:33 +00:00
|
|
|
"//shared/version: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-12-23 20:34:59 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-08-02 02:27:38 +00:00
|
|
|
"@com_github_pkg_errors//: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",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2018-07-14 02:15:37 +00:00
|
|
|
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
|
|
|
)
|