mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
af07c13730
* add main.go * interop readme * proper visibility * standardize and abstract into simpler funcs * formatting * no os pkg * add test * no panics anywhere, properly and nicely handle errors * proper comments * fix broken test * readme * comment * recommend ssz * install * tool now works * README * build * readme * 64 validators * rem print * register the no powchain flag * work on mock eth1 start * common interface * getting closer with the interface defs * only two uses of powchain * remove powchain dependency * remove powchain dependency * common powchain interface * proper comment in case of flag * proper args into rpc services * rename fields * pass in mock flag into RPC * conforms to iface * use client instead of block fetcher iface * broken tests * block fetcher * finalized * resolved broken build * fix build * comment * fix tests * tests pass * resolved confs * took them out * rename into smaller interfaces * resolve some confs * ensure tests pass * properly utilize mock instead of localized mock * res lint * lint * finish test for mock eth1data * run gazelle * include flag again * fix broken build * disable powchain * dont dial eth1 nodes * reenable pow * use smaller interfaces, standardize naming * abstract mock into its own package * faulty mock lint * fix stutter in lint * rpc tests all passing * use mocks for operations * no more mocks in the entire rpc package * no mock * viz * testonly
108 lines
4.8 KiB
Python
108 lines
4.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attester_server.go",
|
|
"beacon_chain_server.go",
|
|
"beacon_server.go",
|
|
"node_server.go",
|
|
"proposer_server.go",
|
|
"service.go",
|
|
"validator_server.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/epoch:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//beacon-chain/core/state/stateutils:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/db/filters:go_default_library",
|
|
"//beacon-chain/db/kv:go_default_library",
|
|
"//beacon-chain/operations:go_default_library",
|
|
"//beacon-chain/p2p:go_default_library",
|
|
"//beacon-chain/powchain:go_default_library",
|
|
"//beacon-chain/sync:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/pagination:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"//shared/version:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "medium",
|
|
srcs = [
|
|
"attester_server_test.go",
|
|
"beacon_chain_server_test.go",
|
|
"beacon_server_test.go",
|
|
"node_server_test.go",
|
|
"proposer_server_test.go",
|
|
"service_test.go",
|
|
"validator_server_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/cache:go_default_library",
|
|
"//beacon-chain/cache/depositcache:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
"//beacon-chain/operations/testing:go_default_library",
|
|
"//beacon-chain/p2p/testing:go_default_library",
|
|
"//beacon-chain/powchain/testing:go_default_library",
|
|
"//beacon-chain/rpc/testing:go_default_library",
|
|
"//beacon-chain/sync/testing:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/beacon/rpc/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/event:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"//shared/version:go_default_library",
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//reflection:go_default_library",
|
|
],
|
|
)
|