2019-11-26 23:08:18 -06:00
|
|
|
# gazelle:ignore
|
2021-05-04 19:20:58 +04:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
2019-06-02 11:33:44 -04:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"gateway.go",
|
|
|
|
"log.go",
|
|
|
|
],
|
2021-05-04 19:20:58 +04:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/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 = [
|
2020-04-30 20:47:10 -05:00
|
|
|
"//proto/beacon/rpc/v1:go_grpc_gateway_library",
|
2021-05-04 19:20:58 +04:00
|
|
|
"//proto/validator/accounts/v2:ethereum_validator_account_gateway_proto",
|
2020-05-30 23:44:34 -07:00
|
|
|
"//shared:go_default_library",
|
2021-05-04 19:20:58 +04:00
|
|
|
"//validator/web:go_default_library",
|
2020-05-30 23:44:34 -07:00
|
|
|
"@com_github_grpc_ecosystem_grpc_gateway//runtime:go_default_library",
|
2021-03-24 06:00:47 +01:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-11-26 23:08:18 -06:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_grpc_gateway_library",
|
2020-03-23 11:17:17 -07:00
|
|
|
"@com_github_rs_cors//: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",
|
2019-06-02 11:33:44 -04:00
|
|
|
],
|
|
|
|
)
|
2021-05-04 19:20:58 +04:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["gateway_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|