-
Notifications
You must be signed in to change notification settings - Fork 810
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
[Merged by Bors] - validator client: start http api before genesis #4714
Conversation
f154366
to
aebe3dd
Compare
validator_client/src/lib.rs
Outdated
@@ -611,6 +609,9 @@ impl<T: EthSpec> ProductionValidatorClient<T> { | |||
); | |||
} | |||
|
|||
// Wait until genesis has occurred. | |||
wait_for_genesis(&self.beacon_nodes, self.genesis_time, &self.context).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also start all the other services like the block_service
/etc. I haven't had time to run this PR, but if someone (@antondlr) can confirm that these services run without errors prior to genesis I think we can merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just pushed this to all the holly
VCs; looking good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a CRIT Failed to poll sync committee duties
@jxs If you have time would you mind adding some logic here to have the VC ignore the BN's
Alternatively, we could change the status to |
Hi Michael, I put the Thanks |
@jxs That sounds good, but I think the el_offline issue is separate. If you look at the logs of the VCs on Holesky they're logging constant warnings about the BN not being synced due to el_offline=true. I figured we could roll a fix into this PR so that we have a version with cleaner logs that people can run if they're interested |
I implemented a quick fix for the I'll test our PRs together and then we can merge them (assuming CI recovers from the mess it's in). |
Thanks Michael, rerun the CI and it's now green 🎉 |
bors r+ |
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
Build failed (retrying...): |
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
Build failed (retrying...): |
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
Build failed (retrying...): |
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
Pull request successfully merged into unstable. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
## Issue Addressed On a new network a user might require importing validators before waiting until genesis has occurred. ## Proposed Changes Starts the validator client http api before waiting for genesis ## Additional Info cc @antondlr
Issue Addressed
On a new network a user might require importing validators before waiting until genesis has occurred.
Proposed Changes
Starts the validator client http api before waiting for genesis
Additional Info
cc @antondlr