mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 20:07:17 +00:00
a15e0797e4
* add option to log rejected gossip message * add bip39 supported mnemonic languages * Revert "add option to log rejected gossip message" This reverts commit 9a3d4486f6c8a623d9eb6b3af1a5a89aa62ecf2f. * Add mnemonic language flag * Update go.mod * Simplify language mapping * Add test for setBip39Lang * Update go.mod * Improve language matching Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Run gazelle + fix maligned struct Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
59 lines
2.2 KiB
Python
59 lines
2.2 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"keymanager.go",
|
|
"log.go",
|
|
"mnemonic.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/validator/keymanager/derived",
|
|
visibility = [
|
|
"//cmd/validator:__subpackages__",
|
|
"//tools:__subpackages__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//async/event:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"//io/prompt:go_default_library",
|
|
"//proto/eth/service:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//validator/accounts/iface:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/local:go_default_library",
|
|
"@com_github_logrusorgru_aurora//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//wordlists:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_util//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"eip_test.go",
|
|
"keymanager_test.go",
|
|
"mnemonic_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/fieldparams:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/rand:go_default_library",
|
|
"//proto/prysm/v1alpha1/validator-client:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//validator/accounts/testing:go_default_library",
|
|
"//validator/testing:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//wordlists:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_util//:go_default_library",
|
|
],
|
|
)
|