ObolNetwork / charon

Charon (pronounced 'kharon') is a Proof of Stake Ethereum Distributed Validator Client
https://docs.obol.tech/
Other
202 stars 90 forks source link

exit --all #3226

Open OisinKyne opened 3 months ago

OisinKyne commented 3 months ago

๐ŸŽฏ Problem to be solved

Right now you have to run one active-validator-list command, parse the output into n sign/broadcast calls. This often requires scripting or manual command preparation.

"Once obol adds an --all flag we can try out that method as well." - Izzy

๐Ÿ› ๏ธ Proposed solution

Add an --all flag to charon exit sign --all. When present, rather than depend on a --validator-public-key or --validator-index input. The command instead uses the active-validator-list method to get the active and exitable pubkeys, and calls the partial exit sign method for each of them.

A similar process for charon exit broadcast --all should also be implemented.

Describe the solution to be implemented

๐Ÿงช Tests