mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
d28ae62d02
* initial commit for work on web3signer-keymanager * WIP key manager client * adding in more valid unit tests * refactoring some of my code to work better with current implementations * adding comments, some error situations and fixing unit tests * updating go.mod * gaz * addressing sandbox errors on test * fixing more sand box debug items * missed yet another error case on my test * reverting go.mod * addressing comments * missed removal of unit test * removing some deepsource issues * adjusting based on review comments * addressing comments * adding the missed types * changing public keys to only pull once * fixing commented code format * gaz * Update validator/keymanager/remote-web3signer/keymanager.go updating comments Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/keymanager.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/keymanager.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/keymanager.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/keymanager.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/keymanager.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * Update validator/keymanager/remote-web3signer/client.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> * fixing conflicts * addressing comments * fixing deepsource issues * more deep source issue fix Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"client.go",
|
|
"keymanager.go",
|
|
"log.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"client_test.go",
|
|
"keymanager_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//crypto/bls:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
|
],
|
|
)
|