mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 03:01:19 +00:00
c9c4cd9f87
* add in deposit logic * create the deposit functionality * import formatting and create deposit config * proceed with retrieving user input for calling the deposit func * actually send our the deposits * better handling and comments * programmatically send all * lint * gaz * add progress bar * deposit test * better error handling * Update validator/accounts/v2/accounts_deposit.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit * Merge refs/heads/master into send-deposit
83 lines
3.6 KiB
Python
83 lines
3.6 KiB
Python
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 = [
|
|
"backup.go",
|
|
"deposit.go",
|
|
"derived.go",
|
|
"mnemonic.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/keymanager/v2/derived",
|
|
visibility = [
|
|
"//validator:__pkg__",
|
|
"//validator:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//contracts/deposit-contract:go_default_library",
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/depositutil:go_default_library",
|
|
"//shared/fileutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/petnames:go_default_library",
|
|
"//shared/promptutil:go_default_library",
|
|
"//shared/rand:go_default_library",
|
|
"//validator/accounts/v2/iface:go_default_library",
|
|
"//validator/flags:go_default_library",
|
|
"//validator/keymanager/v2:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//accounts/keystore:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
|
"@com_github_google_uuid//:go_default_library",
|
|
"@com_github_k0kubun_go_ansi//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_schollz_progressbar_v3//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_urfave_cli_v2//: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 = [
|
|
"backup_test.go",
|
|
"deposit_test.go",
|
|
"derived_test.go",
|
|
"mnemonic_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//contracts/deposit-contract:go_default_library",
|
|
"//proto/validator/accounts/v2:go_default_library",
|
|
"//shared/bls:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/interop:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/rand:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"//validator/accounts/v2/testing:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
"@com_github_google_uuid//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
"@com_github_sirupsen_logrus//: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_util//:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
|
|
],
|
|
)
|