mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
* Fixed otelhttp client setups. Note: This may not be the best solution as the http client is defined in many places. There should be a canoncial http client with the proper setup. * Changelog fragment * go mod tidy and gazelle
36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"client.go",
|
|
"log.go",
|
|
"metrics.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/validator/keymanager/remote-web3signer/internal",
|
|
visibility = ["//validator/keymanager/remote-web3signer:__subpackages__"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//monitoring/tracing:go_default_library",
|
|
"//monitoring/tracing/trace:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opentelemetry_go_contrib_instrumentation_net_http_otelhttp//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["client_test.go"],
|
|
deps = [
|
|
":go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
],
|
|
)
|