2022-04-25 05:03:05 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"options.go",
|
|
|
|
"proxy.go",
|
|
|
|
],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/testing/middleware/engine-api-proxy",
|
2022-04-25 05:03:05 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2022-06-06 23:35:54 +00:00
|
|
|
"//network:go_default_library",
|
2022-04-25 05:03:05 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["proxy_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//crypto/rand:go_default_library",
|
|
|
|
"//proto/engine/v1:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
],
|
|
|
|
)
|