Open wemeetagain opened 9 months ago
Hi, I'd like to tackle this..
I assigned the issue to you @mabsattar, feel free to join us on discord in the #lodestar-developer channel
@mabsattar yeah best course of action is to join our discord for questions.
This feature is fairly well scoped.
Start by implementing the function described above.
Then this new function needs to be used in the validator exit flow, instead of isValidVoluntaryExit
to provide better logging. For this step, you can review the code that was added in #6327 to get a start of where you need to tweak things.
If we wanted to support better logging, esp in the case an exit is already processed by the chain, we could create a
getVoluntaryExitValidity
to return an enum valueThat enum value can get passed up into an error message / code and checked against for logging.
_Originally posted by @wemeetagain in https://github.com/ChainSafe/lodestar/pull/6327#discussion_r1459367323_