2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-06-15 15:28:49 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"custom_handlers.go",
|
|
|
|
"custom_hooks.go",
|
|
|
|
"endpoint_factory.go",
|
|
|
|
"structs.go",
|
2021-09-16 02:51:51 +00:00
|
|
|
"structs_marshalling.go",
|
2021-06-15 15:28:49 +00:00
|
|
|
],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/rpc/apimiddleware",
|
2022-03-23 22:54:07 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-06-15 15:28:49 +00:00
|
|
|
deps = [
|
2021-09-23 20:41:04 +00:00
|
|
|
"//api/gateway/apimiddleware:go_default_library",
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/grpc:go_default_library",
|
2021-08-16 11:11:25 +00:00
|
|
|
"//beacon-chain/rpc/eth/events:go_default_library",
|
2022-06-14 17:47:09 +00:00
|
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
2021-09-28 19:07:32 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-10 15:20:52 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-06-24 16:18:28 +00:00
|
|
|
"@com_github_r3labs_sse//:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"custom_handlers_test.go",
|
|
|
|
"custom_hooks_test.go",
|
2021-09-16 02:51:51 +00:00
|
|
|
"structs_marshalling_test.go",
|
2021-06-15 15:28:49 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-23 20:41:04 +00:00
|
|
|
"//api/gateway/apimiddleware:go_default_library",
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/grpc:go_default_library",
|
2021-08-16 11:11:25 +00:00
|
|
|
"//beacon-chain/rpc/eth/events:go_default_library",
|
2021-09-28 19:07:32 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-10 15:20:52 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2021-09-10 15:20:52 +00:00
|
|
|
"@com_github_gogo_protobuf//types:go_default_library",
|
2021-06-24 16:18:28 +00:00
|
|
|
"@com_github_r3labs_sse//:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
],
|
|
|
|
)
|