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

Allow ListBeaconCommittees API to return previous epoch #4647

Merged
merged 3 commits into from Jan 25, 2020

Conversation

0xKiwi
Copy link
Contributor

@0xKiwi 0xKiwi commented Jan 24, 2020

This PR changes the ListBeaconCommitees endpoint to allow requesting the previous epoch of beacon committees without requiring an archival node as the data should be possible to calculate anyways.

Also add a regression test to make sure requested previous epoch works.

@0xKiwi 0xKiwi requested review from rauljordan and terencechain and removed request for rauljordan January 24, 2020 21:36
@codecov
Copy link

codecov bot commented Jan 25, 2020

Codecov Report

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

@@            Coverage Diff            @@
##             master    #4647   +/-   ##
=========================================
  Coverage          ?   18.43%           
=========================================
  Files             ?      193           
  Lines             ?    13381           
  Branches          ?        0           
=========================================
  Hits              ?     2467           
  Misses            ?    10601           
  Partials          ?      313

@rauljordan rauljordan merged commit 1562d32 into prysmaticlabs:master Jan 25, 2020
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
…s#4647)

* Allow committees API to request previous epoch

* Fix error log

* Fix previous epoch test
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
…s#4647)

* Allow committees API to request previous epoch

* Fix error log

* Fix previous epoch test
@0xKiwi 0xKiwi deleted the fix-committee-api branch March 15, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants