mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
a8716d2949
* initial implementation * use ChainHeads to get heads * API unit tests * remove unnecessary identifier * fix formatting * gzl * Update chainheads to fork choice scope * use HeadFetcher * fix test * gzl * remove junk * remove ChainHeads from forkchoice Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"debug.go",
|
|
"server.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/debugv1",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/rpc/statefetcher:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["debug_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1:go_default_library",
|
|
],
|
|
)
|