gobitfly / eth2-beaconchain-explorer

Open source golang based explorer for the eth2 beacon chain
GNU General Public License v3.0
816 stars 427 forks source link

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

Open nalepae opened 1 year ago

nalepae commented 1 year ago

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 commented 1 year ago

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

nalepae commented 1 year ago

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 commented 1 year ago

Nie stać mnie na bank w Szwajcarii 😭

śr., 6 wrz 2023, 13:54 użytkownik ALIR86 @.***> napisał:

This werenot offer me to validator offer itself ethereum.org were;also I wanna a earning daily of goverence compound,open a bank account right now in a of bank good Switzerland as ruler should be zero connect to my wallet of account a few assetcrypto all show zero value priceliquidity all my financial as investor as governce no offer no talk constant daily or any moment and times get income plus deposit to add rewads and withdrawals in goverence Compound LidoDAO and crue and rocket pool

— Reply to this email directly, view it on GitHub https://github.com/gobitfly/eth2-beaconchain-explorer/issues/2193#issuecomment-1708196965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUANJXFAKR5RPHNXLJIWD3XZBP5ZANCNFSM6AAAAAAX3FCOSI . You are receiving this because you are subscribed to this thread.Message ID: @.***>