wealdtech / ethdo

Apache License 2.0
284 stars 101 forks source link

No Suitable Validator found for this operation #104

Closed rahilmansuri1 closed 11 months ago

rahilmansuri1 commented 1 year ago

I am performing voluntary exit using ethdo tool with validator mnemonic and index, but getting an error "no suitable validator found, no operation generated" Could anyone help me find a solution for this? And also I verified the mnemonic by regenerating the same Keystore

This is the command for the exit ./ethdo validator exit --mnemonic="mnemonic" --validator=00000 --allow-insecure-connections --connection beacon-node-url --timeout=5m

mcdee commented 11 months ago

You are supplying the on-chain validator index in --validator, which is why it isn't working (unless you own validator 0 on-chain).

You can change this to your own validator index, or not supply it and ethdo will exit all validators foud with that mnemonic.