2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-07-01 21:30:01 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-11-13 16:06:24 +00:00
|
|
|
"accounts.go",
|
2020-08-11 23:15:06 +00:00
|
|
|
"accounts_backup.go",
|
2020-08-11 03:54:37 +00:00
|
|
|
"accounts_delete.go",
|
2020-08-20 17:53:09 +00:00
|
|
|
"accounts_exit.go",
|
2020-08-20 19:14:03 +00:00
|
|
|
"accounts_helper.go",
|
2020-07-24 02:18:36 +00:00
|
|
|
"accounts_import.go",
|
|
|
|
"accounts_list.go",
|
2022-04-28 14:46:46 +00:00
|
|
|
"cli_manager.go",
|
|
|
|
"cli_options.go",
|
2020-07-01 21:30:01 +00:00
|
|
|
"doc.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-07-15 04:05:21 +00:00
|
|
|
"wallet_create.go",
|
2020-07-22 02:41:39 +00:00
|
|
|
"wallet_recover.go",
|
2020-07-01 21:30:01 +00:00
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/validator/accounts",
|
2020-07-01 21:30:01 +00:00
|
|
|
visibility = [
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator:__subpackages__",
|
2020-07-01 21:30:01 +00:00
|
|
|
"//validator:__pkg__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
|
|
|
deps = [
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/grpc:go_default_library",
|
2020-10-17 10:08:58 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator/flags:go_default_library",
|
2022-01-06 17:33:08 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/file:go_default_library",
|
|
|
|
"//io/prompt:go_default_library",
|
2021-11-19 04:11:54 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-02-24 18:05:46 +00:00
|
|
|
"//validator/accounts/iface:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//validator/accounts/petnames:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//validator/accounts/userprompt:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/accounts/wallet:go_default_library",
|
2020-09-09 18:29:17 +00:00
|
|
|
"//validator/client:go_default_library",
|
2023-04-17 18:01:13 +00:00
|
|
|
"//validator/client/beacon-api:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"//validator/client/iface:go_default_library",
|
2023-03-20 16:32:32 +00:00
|
|
|
"//validator/client/node-client-factory:go_default_library",
|
2022-11-07 10:29:27 +00:00
|
|
|
"//validator/client/validator-client-factory:go_default_library",
|
2022-11-11 17:33:48 +00:00
|
|
|
"//validator/helpers:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
|
|
|
"//validator/keymanager/derived:go_default_library",
|
2022-02-01 19:54:19 +00:00
|
|
|
"//validator/keymanager/local:go_default_library",
|
2021-02-01 19:00:06 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2020-08-11 16:32:05 +00:00
|
|
|
"@com_github_google_uuid//:go_default_library",
|
2020-07-08 19:21:54 +00:00
|
|
|
"@com_github_logrusorgru_aurora//:go_default_library",
|
2020-07-01 21:30:01 +00:00
|
|
|
"@com_github_manifoldco_promptui//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2020-08-11 16:32:05 +00:00
|
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
2020-09-09 18:29:17 +00:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2021-11-30 10:40:59 +00:00
|
|
|
"@org_golang_google_protobuf//types/known/emptypb:go_default_library",
|
2020-07-01 21:30:01 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2020-08-20 17:53:09 +00:00
|
|
|
"accounts_exit_test.go",
|
2020-07-24 02:18:36 +00:00
|
|
|
"accounts_import_test.go",
|
|
|
|
"accounts_list_test.go",
|
2022-03-13 23:30:11 +00:00
|
|
|
"wallet_recover_fuzz_test.go",
|
2020-07-22 02:41:39 +00:00
|
|
|
"wallet_recover_test.go",
|
2020-07-01 21:30:01 +00:00
|
|
|
],
|
2022-03-13 23:30:11 +00:00
|
|
|
data = glob(["testdata/**"]),
|
2020-07-01 21:30:01 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2023-04-17 18:01:13 +00:00
|
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
|
|
|
"//build/bazel:go_default_library",
|
2021-03-02 18:58:40 +00:00
|
|
|
"//cmd/validator/flags:go_default_library",
|
2022-01-06 17:33:08 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2023-04-17 18:01:13 +00:00
|
|
|
"//io/file:go_default_library",
|
2022-02-08 19:13:36 +00:00
|
|
|
"//proto/eth/service:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2023-03-20 16:32:32 +00:00
|
|
|
"//testing/validator-mock:go_default_library",
|
2021-02-24 18:05:46 +00:00
|
|
|
"//validator/accounts/iface:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
|
|
|
"//validator/keymanager/derived:go_default_library",
|
2022-02-01 19:54:19 +00:00
|
|
|
"//validator/keymanager/local:go_default_library",
|
2021-03-02 11:39:54 +00:00
|
|
|
"//validator/testing:go_default_library",
|
2020-09-09 18:29:17 +00:00
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
2020-07-28 14:18:22 +00:00
|
|
|
"@com_github_google_uuid//:go_default_library",
|
2020-07-29 01:20:13 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2020-07-16 05:08:16 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2020-07-28 14:18:22 +00:00
|
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
2020-07-01 21:30:01 +00:00
|
|
|
],
|
|
|
|
)
|