2020-09-17 01:34:42 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["wallet.go"],
|
2020-10-15 22:31:52 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/accounts/wallet",
|
2020-09-17 01:34:42 +00:00
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//shared/fileutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/promptutil:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/accounts/prompt:go_default_library",
|
2020-09-17 01:34:42 +00:00
|
|
|
"//validator/flags:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
|
|
|
"//validator/keymanager/derived:go_default_library",
|
|
|
|
"//validator/keymanager/direct:go_default_library",
|
|
|
|
"//validator/keymanager/remote:go_default_library",
|
2020-09-17 01:34:42 +00:00
|
|
|
"@com_github_gofrs_flock//: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-09-22 14:49:07 +00:00
|
|
|
"@org_golang_x_crypto//bcrypt:go_default_library",
|
2020-09-17 01:34:42 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["wallet_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/assertions:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/accounts:go_default_library",
|
2020-09-17 01:34:42 +00:00
|
|
|
"//validator/flags:go_default_library",
|
2020-10-15 22:31:52 +00:00
|
|
|
"//validator/keymanager:go_default_library",
|
2020-09-17 01:34:42 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|