mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
4551bb47fc
* begin event source support * add in events server and proto definitions * fmt * add in stream support and proper building * add in the protos * tidy * add structure and comments * fmt * revert proto changes * only return events we explicitly request * capture missing events needed for eth2 apis * handle underflow * no hash tree roots * gazelle * static * race tests passing * simplify * handle all required events * begin on stream tests * correctness and abstracting method for forwarding to state feed * genesis root * include missing pieces * logging * rem and and handle return * added mock * add in mock * add tests for block events * added comprehensive tests * radek comments * add missing unit tests * updatemockgen file * viz * done * Update beacon-chain/rpc/eventsv1/events.go * Update beacon-chain/rpc/eventsv1/events.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
package(default_testonly = True)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"beacon_chain_service_mock.go",
|
|
"beacon_service_mock.go",
|
|
"beacon_validator_client_mock.go",
|
|
"beacon_validator_server_mock.go",
|
|
"event_service_mock.go",
|
|
"keymanager_mock.go",
|
|
"node_service_mock.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/mock",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//proto/gateway:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//metadata:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
|
],
|
|
)
|