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

Include Validator Index in GetDuties Response, Update EthereumAPIs #4567

Merged
merged 8 commits into from Jan 16, 2020

Conversation

rauljordan
Copy link
Contributor

This PR resolves #4379


Description

Write why you are making the changes in this pull request

We notice it is unnecessary for validators to make thousands of requests for validator indices to the beacon node after retrieving duties if we can just include that value in the response.

Write a summary of the changes you are making

This PR uses the latest Ethereum APIs commit prysmaticlabs/ethereumapis@8a785e1 to include this. Fixes the validator client + beacon node, and cleans up some tests.

@rauljordan rauljordan self-assigned this Jan 16, 2020
@rauljordan rauljordan added API Api related tasks Enhancement New feature or request OK to merge Priority: High High priority item Ready For Review A pull request ready for code review and removed Priority: High High priority item labels Jan 16, 2020
prestonvanloon
prestonvanloon previously approved these changes Jan 16, 2020
@codecov
Copy link

codecov bot commented Jan 16, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@cbb2cee). Click here to learn what that means.
The diff coverage is 51.72%.

@@            Coverage Diff            @@
##             master    #4567   +/-   ##
=========================================
  Coverage          ?   18.73%           
=========================================
  Files             ?      165           
  Lines             ?    10798           
  Branches          ?        0           
=========================================
  Hits              ?     2023           
  Misses            ?     8425           
  Partials          ?      350

@prylabs-bulldozer prylabs-bulldozer bot merged commit eb429ab into master Jan 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the include-val-idx branch January 16, 2020 22:37
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
…rysmaticlabs#4567)

* include new patch
* add patch and validator indices to duties resp
* test passing
* move call to validator index
* Merge branch 'master' into include-val-idx
* do not use wait groups anymore
* Merge branch 'include-val-idx' of github.com:prysmaticlabs/prysm into include-val-idx
* Update beacon-chain/rpc/validator/assignments_test.go
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
…rysmaticlabs#4567)

* include new patch
* add patch and validator indices to duties resp
* test passing
* move call to validator index
* Merge branch 'master' into include-val-idx
* do not use wait groups anymore
* Merge branch 'include-val-idx' of github.com:prysmaticlabs/prysm into include-val-idx
* Update beacon-chain/rpc/validator/assignments_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validator index part of the RPC assignment respond
3 participants