2020-10-07 13:08:51 +00:00
|
|
|
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 = ["store.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/peers/peerdata",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//p2p/enr: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_multiformats_go_multiaddr//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["store_test.go"],
|
|
|
|
deps = [
|
2020-11-10 03:01:56 +00:00
|
|
|
":go_default_library",
|
2020-10-07 13:08:51 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
|
|
],
|
|
|
|
)
|