2021-12-09 15:33:53 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2022-02-01 18:28:41 +00:00
|
|
|
srcs = [
|
|
|
|
"keymanager.go",
|
|
|
|
"metrics.go",
|
|
|
|
],
|
2021-12-09 15:33:53 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer",
|
|
|
|
visibility = [
|
|
|
|
"//cmd/validator:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
|
|
|
deps = [
|
2022-01-05 20:32:46 +00:00
|
|
|
"//async/event:go_default_library",
|
2022-01-18 20:31:58 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-12-09 15:33:53 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-03-30 21:52:54 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
2022-03-10 17:19:04 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
2022-03-22 03:04:09 +00:00
|
|
|
"//validator/keymanager/remote-utils:go_default_library",
|
2022-01-31 16:44:17 +00:00
|
|
|
"//validator/keymanager/remote-web3signer/internal:go_default_library",
|
2022-01-11 22:15:40 +00:00
|
|
|
"//validator/keymanager/remote-web3signer/v1:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2022-01-31 16:44:17 +00:00
|
|
|
"@com_github_go_playground_validator_v10//:go_default_library",
|
2022-03-22 03:04:09 +00:00
|
|
|
"@com_github_logrusorgru_aurora//:go_default_library",
|
2021-12-09 15:33:53 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-02-01 18:28:41 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2022-04-11 20:05:40 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2021-12-09 15:33:53 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2022-01-31 16:44:17 +00:00
|
|
|
srcs = ["keymanager_test.go"],
|
2021-12-09 15:33:53 +00:00
|
|
|
embed = [":go_default_library"],
|
2022-01-05 20:32:46 +00:00
|
|
|
deps = [
|
2022-04-11 20:05:40 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-04-11 20:05:40 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
2022-01-18 20:31:58 +00:00
|
|
|
"//testing/require:go_default_library",
|
2022-01-31 16:44:17 +00:00
|
|
|
"//validator/keymanager/remote-web3signer/internal:go_default_library",
|
|
|
|
"//validator/keymanager/remote-web3signer/v1/mock:go_default_library",
|
2022-01-05 20:32:46 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
|
|
],
|
2021-12-09 15:33:53 +00:00
|
|
|
)
|