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:
chonghe
2025-06-05 14:34:33 +08:00
committed by GitHub
parent 2d9fc34d43
commit dcee76c0dc
14 changed files with 19 additions and 17 deletions

View File

@@ -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