mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
bb319e02e8
* Event support for `contribution_and_prrof` * event test * fix panic in tests * fix * Revert "Auxiliary commit to revert individual files from dc8d01a15f0056c1fb48733219feab6461f71695" This reverts commit f5f198564079781f80e1a045cefad7c27f89af25. * remove receiver * revive test * move sending events to sync package * remove receiver * remove notification test * build file * notifier tests * revert removal of exit event in API * simplify exit test * send notification in contribution API method * test fix Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com>
53 lines
2.2 KiB
Python
53 lines
2.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"events.go",
|
|
"server.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//beacon-chain/core/feed:go_default_library",
|
|
"//beacon-chain/core/feed/block:go_default_library",
|
|
"//beacon-chain/core/feed/operation:go_default_library",
|
|
"//beacon-chain/core/feed/state:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//proto/gateway:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/anypb:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["events_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/core/feed:go_default_library",
|
|
"//beacon-chain/core/feed/block:go_default_library",
|
|
"//beacon-chain/core/feed/operation:go_default_library",
|
|
"//beacon-chain/core/feed/state:go_default_library",
|
|
"//proto/eth/v1:go_default_library",
|
|
"//proto/migration:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/mock:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//proto/gateway:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
"@org_golang_google_protobuf//types/known/anypb:go_default_library",
|
|
],
|
|
)
|