prysm-pulse/validator/keymanager/remote-web3signer/BUILD.bazel

44 lines
1.5 KiB
Python
Raw Normal View History

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"client.go",
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
"keymanager.go",
"log.go",
],
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/remote-web3signer",
visibility = [
"//cmd/validator:__subpackages__",
"//validator:__subpackages__",
],
deps = [
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
"//async/event:go_default_library",
"//crypto/bls:go_default_library",
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
"//encoding/bytesutil:go_default_library",
"//proto/prysm/v1alpha1/validator-client:go_default_library",
"//validator/keymanager/remote-web3signer/v1:go_default_library",
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
"@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",
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
srcs = [
"client_test.go",
"keymanager_test.go",
],
embed = [":go_default_library"],
Web3signer keymanager: key manager implementation (#10016) * 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>
2022-01-05 20:32:46 +00:00
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",
"//validator/keymanager/remote-web3signer/v1:go_default_library",
Web3signer keymanager: key manager implementation (#10016) * 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>
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",
],
)