mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-01 03:33:47 +00:00
Update key generation in validator manager (#7548)
#7518 breaks the key generation process in `validator_manager/test_vectors/generate.py` after updating to `ethstaker-deposit-cli`. This PR updates the key generation process, tested and successfully generated the deposit data JSON files.
This commit is contained in:
@@ -71,9 +71,9 @@ def setup_sdc():
|
||||
], cwd=sdc_git_dir)
|
||||
assert(result.returncode == 0)
|
||||
result = subprocess.run([
|
||||
"python",
|
||||
"setup.py",
|
||||
"pip",
|
||||
"install",
|
||||
".",
|
||||
], cwd=sdc_git_dir)
|
||||
assert(result.returncode == 0)
|
||||
|
||||
@@ -100,7 +100,9 @@ def sdc_generate(network, first_index, count, eth1_withdrawal_address=None):
|
||||
'--num_validators', str(count),
|
||||
'--mnemonic', TEST_MNEMONIC,
|
||||
'--chain', network,
|
||||
'--keystore_password', 'MyPassword',
|
||||
'--keystore_password', 'MyPassword1234', # minimum 12 characters for password
|
||||
'--withdrawal_address', '', # no withdrawal address set so it maintains 0x00 withdrawal credentials
|
||||
'--regular-withdrawal', # no compounding
|
||||
'--folder', os.path.abspath(output_dir),
|
||||
] + eth1_flags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user