mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 05:38:55 +00:00
20b836d038
* checkpoint progress * gaz * fix * add it in * Update beacon-chain/p2p/pubsub.go * fmt * reformat imports Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
56 lines
2.0 KiB
Python
56 lines
2.0 KiB
Python
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 = [
|
|
"bad_responses.go",
|
|
"block_providers.go",
|
|
"gossip_scorer.go",
|
|
"peer_status.go",
|
|
"service.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/scorers",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/flags:go_default_library",
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
|
"//beacon-chain/p2p/types:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/rand:go_default_library",
|
|
"//shared/timeutils:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"bad_responses_test.go",
|
|
"block_providers_test.go",
|
|
"gossip_scorer_test.go",
|
|
"peer_status_test.go",
|
|
"scorers_test.go",
|
|
"service_test.go",
|
|
],
|
|
deps = [
|
|
":go_default_library",
|
|
"//beacon-chain/flags:go_default_library",
|
|
"//beacon-chain/p2p/peers:go_default_library",
|
|
"//beacon-chain/p2p/peers/peerdata:go_default_library",
|
|
"//beacon-chain/p2p/types:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/rand:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//shared/timeutils:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|