2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "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",
|
2022-01-26 01:42:18 +00:00
|
|
|
"optimistic_sync.go",
|
2022-01-29 16:32:01 +00:00
|
|
|
"proposer_boost.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__",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2020-09-14 18:42:08 +00:00
|
|
|
],
|
2020-01-22 20:19:52 +00:00
|
|
|
deps = [
|
2022-01-29 16:32:01 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-01-26 01:42:18 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-01-29 16:32:01 +00:00
|
|
|
"//time/slots: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",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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",
|
2022-01-26 01:42:18 +00:00
|
|
|
"optimistic_sync_test.go",
|
2022-01-29 16:32:01 +00:00
|
|
|
"proposer_boost_test.go",
|
2020-12-15 20:44:35 +00:00
|
|
|
"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 = [
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-01-22 20:19:52 +00:00
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
)
|