mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
456b4d463e
* validator migration * status helpers * implementation * fix existing tests * build file * tests * run endpoint through API Middleware * reduce helper package visibility * empty caches before each test * assign all validators to subnets Co-authored-by: Nishant Das <nishdas93@gmail.com>
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["validator_status.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/helpers",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["validator_status_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/state/v1:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|