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