2022-02-08 19:13:36 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-12-07 20:26:21 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"endpoint_factory.go",
|
|
|
|
"structs.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/rpc/apimiddleware",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//api/gateway/apimiddleware:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2022-02-08 19:13:36 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["structs_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//proto/eth/service:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|