2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "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-03-03 02:26:24 +00:00
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/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-03-17 19:49:49 +00:00
|
|
|
"//beacon-chain/state/stateV0:go_default_library",
|
2018-11-21 06:44:04 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/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
|
|
|
],
|
|
|
|
)
|