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

Update head slot metric after compute head #4754

Merged
merged 3 commits into from
Feb 5, 2020

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Feb 5, 2020

I found it weird the reporting of head_slot is always one slot behind versus proto array's service reporting. It turns out we update head_slot metric before computing for head slot. We should update head_slot metric after computing and this PR fixed that.

@terencechain terencechain added Bug Something isn't working Forkchoice labels Feb 5, 2020
@terencechain terencechain self-assigned this Feb 5, 2020
@codecov
Copy link

codecov bot commented Feb 5, 2020

Codecov Report

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

@@            Coverage Diff            @@
##             master    #4754   +/-   ##
=========================================
  Coverage          ?   43.79%           
=========================================
  Files             ?      203           
  Lines             ?    15361           
  Branches          ?        0           
=========================================
  Hits              ?     6728           
  Misses            ?     7499           
  Partials          ?     1134

@prylabs-bulldozer prylabs-bulldozer bot merged commit 0180051 into master Feb 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the properly-update-head-metric branch February 5, 2020 17:24
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 24, 2020
* Update head slot after compute head
* Merge branch 'master' into properly-update-head-metric
* Merge refs/heads/master into properly-update-head-metric
cryptomental pushed a commit to cryptomental/prysm that referenced this pull request Feb 28, 2020
* Update head slot after compute head
* Merge branch 'master' into properly-update-head-metric
* Merge refs/heads/master into properly-update-head-metric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants