2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-06-02 15:33:44 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"gateway.go",
|
|
|
|
"log.go",
|
2022-06-16 15:10:23 +00:00
|
|
|
"modifiers.go",
|
2021-12-07 20:26:21 +00:00
|
|
|
"options.go",
|
2019-06-02 15:33:44 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/api/gateway",
|
2019-06-02 15:33:44 +00:00
|
|
|
visibility = [
|
2021-05-04 15:20:58 +00:00
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
2019-06-02 15:33:44 +00:00
|
|
|
],
|
|
|
|
deps = [
|
2023-12-08 04:24:18 +00:00
|
|
|
"//api/server:go_default_library",
|
2021-09-17 19:20:50 +00:00
|
|
|
"//runtime:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway_v2//runtime:go_default_library",
|
2021-03-24 05:00:47 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-06-02 15:33:44 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
|
|
"@org_golang_google_grpc//connectivity:go_default_library",
|
2021-02-10 04:23:12 +00:00
|
|
|
"@org_golang_google_grpc//credentials:go_default_library",
|
2023-10-31 16:33:54 +00:00
|
|
|
"@org_golang_google_grpc//credentials/insecure:go_default_library",
|
2022-06-16 15:10:23 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2019-06-02 15:33:44 +00:00
|
|
|
],
|
|
|
|
)
|
2021-05-04 15:20:58 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-09-23 20:41:04 +00:00
|
|
|
srcs = ["gateway_test.go"],
|
2021-05-04 15:20:58 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
2021-05-04 15:20:58 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|