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

Handle genesis case for blocks/states at slot index #5224

Merged
merged 4 commits into from
Mar 27, 2020

Conversation

terencechain
Copy link
Member

This PR adds genesis case for retrieve blocks and states using slot index. As we know filters.NewFilter().SetStartSlot(uint64(0)).SetEndSlot(uint64(0)) does not return genesis object. When slot = 0, the return needs to separately be taken care of

@terencechain terencechain added Bug Something isn't working Ready For Review A pull request ready for code review labels Mar 26, 2020
@terencechain terencechain self-assigned this Mar 26, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 1a0a399 into master Mar 27, 2020
@delete-merged-branch delete-merged-branch bot deleted the handle-genesis branch March 27, 2020 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants