-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Refactor validator client #2416
Conversation
Simplify AttestationService validator flow Compute wait times with better precision Simplify BlockProposingService validator flow Re-export all util in index Revert private property accessing Follow Lighthouse approach for the validator client Add validatorStore and fork service Remove wait for block on att service Reorg duties services Add dependentRoot functionality Block service Clean-up services Simplify start / stop methods Remove clock from apiClient Clean-up apiClient class Update validator clock tests Update duties tests Add more duties tests Add tests for new validator services Update validator initialization Update lodestar tests Temp patch to pass tests Fix differenceHex util function Re-org validator API client Make validator REST client requests abortable Log validator indexes in sim tests Test fork service Remove runningTasks booleans Don't log ErrorAborted in validator client Log time to wait in sim test
Code Climate has analyzed commit de90ae1 and detected 8 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
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.
this is a big'un! i only reviewed the packages/lodestar/*
half of it (except for the commented function in packages/validator
, but will try to look at the validator half later.
Motivation
Our validator client worked but was sub-optimal. This PR attempts to solve existing issues from their root, and pave the way for future optimizations
Description
Known fixed issues:
Improvements: