Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard error message when trying to exit an exited validator #2193

Open
nalepae opened this issue May 9, 2023 · 3 comments
Open

Standard error message when trying to exit an exited validator #2193

nalepae opened this issue May 9, 2023 · 3 comments

Comments

@nalepae
Copy link

nalepae commented May 9, 2023

Describe the bug
When using https://goerli.beaconcha.in/tools/broadcast with the following payload, corresponding to an already exited validator on Goerli:

{
"message": 
    {
        "epoch": "162304",
        "validator_index": "384413"
    },
    "signature": "0x910c7cd56987115b0d3e51cddc9c94a25f7ba4949b7343581e853f58ec5e0ef8a7bf1fb61fe24a4210ca0f37a50987630543e7b21e4d2e8becf9e1dfa1a239b2988f48e871053c336d890e162846c634cceef39bc9744e7dfd398ccfacd9eccd"
}

We get the following error:
image

It could be nice to have a more specific message like: Not active validator.

For information, here is the Lighthouse beacon node response in such a case:

{
    "code": 400,
    "message": "BAD_REQUEST: Invalid object: gossip verification failed: ExitValidationError(Invalid(NotActive(384413)))",
    "stacktraces": []
}

The Lighthouse's message is pretty clear!

@recy21
Copy link
Collaborator

recy21 commented May 9, 2023

Hey, you again :)
Created an internal ticket, will update here if we have new information, thanks!

@nalepae
Copy link
Author

nalepae commented May 9, 2023

BTW, I also the tested this feature for a validator "Too young to exit" (aka. with less than 256 epochs from activation time) and I noticed beaconcha.in nevertheless accepts the requests (while Lighthouse refuses it and responds 400 ToYoungToExit).

I guess you keep track of too young to exit validators requests somewhere and submit them to a beacon node when the validator is old enough.

Well done!

@Katarzynamm

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@nalepae @Katarzynamm @recy21 and others