mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
f8c870aa91
* fix bug * return if not ok * don't set peer status there * fix build * fix test * fix all other tests * add regression test * cosmetic changes
24 lines
727 B
Python
24 lines
727 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["peer_statuses.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/sync/peerstatus",
|
|
visibility = [
|
|
"//beacon-chain/p2p:__subpackages__",
|
|
"//beacon-chain/sync:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/roughtime:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["peer_statuses_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["@com_github_libp2p_go_libp2p_core//peer:go_default_library"],
|
|
)
|