mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
f09fe4f038
* Reorganize Prysm custom endpoints * add deprecated paths * review
55 lines
2.2 KiB
Python
55 lines
2.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"handlers.go",
|
|
"server.go",
|
|
"validator_count.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/prysm/beacon",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api/server/structs:go_default_library",
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
"//beacon-chain/state/state-native:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//beacon-chain/sync:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//consensus-types/validator:go_default_library",
|
|
"//network/httputil:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["validator_count_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api/server/structs:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//network/httputil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
],
|
|
)
|