2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-06-14 16:58:08 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"events.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
2021-08-16 11:11:25 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/eth/events",
|
2021-06-14 16:58:08 +00:00
|
|
|
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",
|
2021-08-13 10:55:24 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2021-06-14 16:58:08 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
|
|
|
"//proto/migration:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//proto/gateway:go_default_library",
|
2021-06-24 16:18:28 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-06-14 16:58:08 +00:00
|
|
|
"@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 = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"//async/event:go_default_library",
|
2021-06-14 16:58:08 +00:00
|
|
|
"//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",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
2021-09-17 19:20:50 +00:00
|
|
|
"//testing/mock:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2021-06-14 16:58:08 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//proto/gateway:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/anypb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|