lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Support voluntary exits via validator manager

Open karalabe opened this issue 2 years ago • 3 comments

The validator_manager supports creating and importing validator keys. The creation command makes one big file containing all the keys; and the importer imports each key individually with a randomly generated password. There is no voluntary exit command via the validator_manager. This makes things a bit quirky.

  • I need to point lighthouse to one of the imported keys, since I can't use the dump containing many keys.
  • The only place where I have a set of keys is the validator itself, so I need to dig up the key from the live system.
  • I also need to look through the validator_definitions and extract the correct random password.

It's a bit of a PITA even for a single validator. Doing this for many gets annoying very fast.

Would be nice to be able to generate voluntary exists via the validator_manager too.

karalabe avatar Oct 04 '23 10:10 karalabe

Would be nice if the validator_manager also added the ability to delete keys, which you'll want to do after exiting.

aronfoster avatar Feb 06 '24 17:02 aronfoster

Taking a look at this currently, hoping to have a first PR later this month.

rnicoll avatar Jun 12 '24 03:06 rnicoll