2020-07-21 02:05:23 +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 = [
|
|
|
|
"derived.go",
|
|
|
|
"mnemonic.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/v2/derived",
|
|
|
|
visibility = [
|
|
|
|
"//validator:__pkg__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
|
|
|
deps = [
|
2020-07-21 05:06:11 +00:00
|
|
|
"//contracts/deposit-contract:go_default_library",
|
2020-07-21 02:05:23 +00:00
|
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
2020-07-21 05:06:11 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/depositutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/petnames:go_default_library",
|
2020-07-21 02:05:23 +00:00
|
|
|
"//shared/rand:go_default_library",
|
|
|
|
"//shared/roughtime:go_default_library",
|
|
|
|
"//validator/accounts/v2/iface:go_default_library",
|
|
|
|
"//validator/keymanager/v2:go_default_library",
|
2020-07-21 05:06:11 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2020-07-21 02:05:23 +00:00
|
|
|
"@com_github_google_uuid//:go_default_library",
|
|
|
|
"@com_github_manifoldco_promptui//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-07-21 05:06:11 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-07-21 02:05:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
|
|
"@com_github_wealdtech_go_eth2_util//:go_default_library",
|
|
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"derived_test.go",
|
|
|
|
"mnemonic_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//validator/accounts/v2/testing:go_default_library",
|
|
|
|
"//validator/keymanager/v2:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|