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