mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 20:50:05 +00:00
59be30e9f4
* initial commit for metrics, tracing, and code coverage * fixing unit test, logs, and naming conventions * Update validator/keymanager/remote-web3signer/internal/client.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/internal/client.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * adding required dependency * adding more error annotations * adding in negative test * fixing bazel build * gaz * Update validator/client/validator_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/client/validator_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/client/service.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/internal/client.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/client/validator_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/client/validator_test.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * addressing review comments * Update validator/keymanager/remote-web3signer/internal/client_test.go * reverting channel direction Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
45 lines
1.8 KiB
Python
45 lines
1.8 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"keymanager.go",
|
|
"metrics.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//validator/keymanager/remote-web3signer/internal:go_default_library",
|
|
"//validator/keymanager/remote-web3signer/v1:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_go_playground_validator_v10//: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",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["keymanager_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/keymanager/remote-web3signer/internal:go_default_library",
|
|
"//validator/keymanager/remote-web3signer/v1/mock:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
],
|
|
)
|