2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-04-13 07:41:06 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-04-14 10:54:50 +00:00
|
|
|
srcs = [
|
|
|
|
"log.go",
|
|
|
|
"p2p.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/node/registration",
|
2021-04-13 07:41:06 +00:00
|
|
|
visibility = ["//beacon-chain/node:__subpackages__"],
|
|
|
|
deps = [
|
2021-09-21 18:11:16 +00:00
|
|
|
"//cmd:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2024-03-15 11:08:19 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-04-14 10:54:50 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-04-13 07:41:06 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-11-04 18:19:44 +00:00
|
|
|
srcs = ["p2p_test.go"],
|
2021-04-13 07:41:06 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-21 18:11:16 +00:00
|
|
|
"//cmd:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-04-13 07:41:06 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|