Skip to content

Conversation

@paulhauner
Copy link
Member

Issue Addressed

Proposed Changes

Add a GET lighthouse/staking that returns 200 if the node is ready to stake (i.e., --eth1 flag is present) or a 404 otherwise.

Whilst the VC is waiting for the genesis time to start (i.e., when the genesis state is known), check the lighthouse/staking endpoint and log an error if the node isn't configured for staking.

Additional Info

NA

@paulhauner paulhauner added work-in-progress PR is a work-in-progress A0 labels Nov 16, 2020
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. A nice improvement.

@paulhauner
Copy link
Member Author

Thanks!

bors r+

bors bot pushed a commit that referenced this pull request Nov 23, 2020
## Issue Addressed

- Resolves #1424

## Proposed Changes

Add a `GET lighthouse/staking` that returns 200 if the node is ready to stake (i.e., `--eth1` flag is present) or a 404 otherwise.

Whilst the VC is waiting for the genesis time to start (i.e., when the genesis state is known), check the `lighthouse/staking` endpoint and log an error if the node isn't configured for staking.

## Additional Info

NA
@bors
Copy link

bors bot commented Nov 23, 2020

@bors bors bot changed the title Improve UX whilst VC is waiting for genesis [Merged by Bors] - Improve UX whilst VC is waiting for genesis Nov 23, 2020
@bors bors bot closed this Nov 23, 2020
@paulhauner paulhauner deleted the vc-ux branch March 17, 2021 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0 work-in-progress PR is a work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Irritating error message of the validator_client before genesis start.

3 participants