mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
76ed634f73
* save changes * fix build * fix build * fix signatures * fix * fix * finally fix it * mainnet * deps * make it 10 * back to phase0 * fix build * gofmt * etherbase * rm logs * build * james review * fix yaml * Update testing/endtoend/evaluators/fork.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * radek's review --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
42 lines
1.5 KiB
Python
42 lines
1.5 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["validator.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/core/validators",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//testing/endtoend:__subpackages__",
|
|
"//testing/spectest:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/time:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//math:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["validator_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/time:go_default_library",
|
|
"//beacon-chain/state/state-native:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|