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

Cached head root retrieve from DB on miss #4552

Merged
merged 3 commits into from Jan 15, 2020
Merged

Conversation

terencechain
Copy link
Member

Previously chain service's head root returns zero hash on a cache miss. Ideally, it should try to retrieve the head root from the DB

@terencechain terencechain added the Ready For Review A pull request ready for code review label Jan 15, 2020
@terencechain terencechain self-assigned this Jan 15, 2020
@codecov
Copy link

codecov bot commented Jan 15, 2020

Codecov Report

Merging #4552 into master will decrease coverage by 0.62%.
The diff coverage is 39.53%.

@@            Coverage Diff             @@
##           master    #4552      +/-   ##
==========================================
- Coverage    41.6%   40.97%   -0.63%     
==========================================
  Files         193      193              
  Lines       13645    13051     -594     
==========================================
- Hits         5677     5348     -329     
+ Misses       7012     6791     -221     
+ Partials      956      912      -44

@terencechain terencechain merged commit 5ab1efb into master Jan 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix-head-root branch January 15, 2020 05:02
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants