2023-12-04 21:01:39 +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",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2022-05-29 19:32:42 +00:00
|
|
|
"error.go",
|
2020-01-22 16:50:16 +00:00
|
|
|
"interfaces.go",
|
2023-12-04 21:01:39 +00:00
|
|
|
"ro.go",
|
2020-01-22 16:50:16 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/forkchoice",
|
2022-01-31 19:03:48 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2022-08-17 06:38:57 +00:00
|
|
|
"//cmd:__subpackages__",
|
2022-01-31 19:03:48 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
|
|
|
],
|
2021-02-09 10:05:22 +00:00
|
|
|
deps = [
|
2022-03-28 21:34:41 +00:00
|
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
2022-06-05 17:48:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-03-09 03:05:51 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2023-11-03 15:33:46 +00:00
|
|
|
"//consensus-types/forkchoice:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-29 19:32:42 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
],
|
2020-01-22 16:50:16 +00:00
|
|
|
)
|
2023-12-04 21:01:39 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["ro_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//consensus-types/primitives:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|