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__",
|
|
|
|
"//spectest:__subpackages__",
|
|
|
|
],
|
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-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-08-02 02:27:38 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-08-10 10:34:33 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
],
|
|
|
|
)
|