2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-01-22 16:50:16 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-01-22 18:12:41 +00:00
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2020-01-22 20:19:52 +00:00
|
|
|
"errors.go",
|
|
|
|
"helpers.go",
|
2020-01-25 20:22:25 +00:00
|
|
|
"metrics.go",
|
2020-08-08 01:37:08 +00:00
|
|
|
"node.go",
|
2020-01-24 18:58:19 +00:00
|
|
|
"store.go",
|
2020-01-22 18:12:41 +00:00
|
|
|
"types.go",
|
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/forkchoice/protoarray",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//fuzz:__pkg__",
|
|
|
|
],
|
2020-01-22 20:19:52 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/params:go_default_library",
|
2020-01-24 18:58:19 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-01-25 20:22:25 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2020-01-22 20:19:52 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-01-23 16:33:39 +00:00
|
|
|
srcs = [
|
2020-01-24 18:58:19 +00:00
|
|
|
"ffg_update_test.go",
|
2020-01-23 16:33:39 +00:00
|
|
|
"helpers_test.go",
|
2020-01-24 18:58:19 +00:00
|
|
|
"no_vote_test.go",
|
2020-12-15 20:44:35 +00:00
|
|
|
"node_test.go",
|
|
|
|
"store_test.go",
|
2020-01-24 18:58:19 +00:00
|
|
|
"vote_test.go",
|
2020-01-23 16:33:39 +00:00
|
|
|
],
|
2020-01-22 20:19:52 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-07-28 22:29:34 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-01-22 20:19:52 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-07-22 21:11:03 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-01-22 20:19:52 +00:00
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
)
|