-
Notifications
You must be signed in to change notification settings - Fork 365
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
Validator Balance update Refactor #255
Conversation
@gpsanant this changes interfaces a bit, shouldn't be too bad |
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.
Seems like a good change. Should also update docs, and we should align w/ FE etc on merging this.
Seems good now. @Sidu28 would be good to see test coverage for all these functions that accept arrays (even just a simple test w/ 2 inputs, preferably with the validators having different amounts so we can be sure that we don't have an error of e.g. reading always from one entry of the array) -- capturing these as TODOs for the moment is OK by me though. |
I'll make a ticket for it! |
This PR refactors the validator balance updater to process multiple balance updates. We allow this for verifying withdrawal credentials and withdrawals, it makes sense to do it here as well