2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-07 13:08:51 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["store.go"],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/p2p/peers/peerdata",
|
2020-10-07 13:08:51 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1/metadata:go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr:go_default_library",
|
2022-10-07 07:24:51 +00:00
|
|
|
"@com_github_libp2p_go_libp2p//core/network:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p//core/peer:go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["store_test.go"],
|
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2022-10-07 07:24:51 +00:00
|
|
|
"@com_github_libp2p_go_libp2p//core/peer:go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
],
|
|
|
|
)
|