Skip to content
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

submit lists of validator registrations #10882

Merged
merged 9 commits into from
Jun 15, 2022
Merged

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Jun 14, 2022

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Updates the registerValidator builder API client code to submit multiple SignedValidatorRegistration objects wrapped in a json list.

Other notes for review
If we fail to find a given validator key in the current state, we don't treat that as an error since it can happen for legit reasons (like a validator that hasn't had deposits processed yet). Service.RegisterValidator does currently return an error if there are zero validators ready to be registered, which is maybe not desirable.

@kasey kasey requested a review from a team as a code owner June 14, 2022 23:46
terencechain
terencechain previously approved these changes Jun 15, 2022
@terencechain
Copy link
Member

@kasey build fails

prestonvanloon
prestonvanloon previously approved these changes Jun 15, 2022
@terencechain terencechain dismissed stale reviews from prestonvanloon and themself via 0d3791d June 15, 2022 13:56
terencechain
terencechain previously approved these changes Jun 15, 2022
@terencechain terencechain added the Builder PR or issue that supports builder related work label Jun 15, 2022
@prylabs-bulldozer prylabs-bulldozer bot merged commit 7b38f8b into develop Jun 15, 2022
@delete-merged-branch delete-merged-branch bot deleted the val-reg-array branch June 15, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builder PR or issue that supports builder related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants