-
Notifications
You must be signed in to change notification settings - Fork 918
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
More efficient list indexed attestation endpoint #5441
Conversation
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.
Looks like it was already using state gen for state:
https://github.com/prysmaticlabs/prysm/pull/5441/files#diff-c767c9e73a5894791f1a09e7b26fd917R142
What did this PR change?
What happens when new state management is not enabled? |
…-indexed-attestations
…abs/prysm into fix-list-indexed-attestations
Codecov Report
@@ Coverage Diff @@
## master #5441 +/- ##
=======================================
Coverage 18.88% 18.88%
=======================================
Files 235 235
Lines 20239 20239
=======================================
Hits 3822 3822
Misses 15823 15823
Partials 594 594 |
@0xKiwi fixed test to cover the bug you pointed to |
thanks @terencechain for the feedback |
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.
We still should add back old archival functionality but i think that's out of the scope of this PR. Can be addressed in the next PR
[Resolves] #5373
[Resolves] #5486
Description
list indexed attestations endpoint i using beacondb get state function that only returns the lates few epochs states . using the new state-gen will enable to retrieve committees using old states