2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-11-21 06:44:04 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-02-06 14:00:50 +00:00
|
|
|
srcs = ["validator.go"],
|
2018-11-21 06:44:04 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/validators",
|
2021-04-22 14:53:30 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-14 16:02:58 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2021-04-22 14:53:30 +00:00
|
|
|
],
|
2018-11-21 06:44:04 +00:00
|
|
|
deps = [
|
2019-02-01 16:52:35 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-05-24 07:22:46 +00:00
|
|
|
"//math:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2019-08-02 02:27:38 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-02-06 14:00:50 +00:00
|
|
|
srcs = ["validator_test.go"],
|
2018-11-21 06:44:04 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-04 20:34:33 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2022-02-08 09:30:06 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
],
|
|
|
|
)
|