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

Validator logging: return early if no att included #7979

Merged
merged 3 commits into from
Nov 30, 2020

Conversation

terencechain
Copy link
Member

What type of PR is this?

Feature

What does this PR do? Why is it needed?

For logging of validator's attestation inclusion performance, this implements a short cut to return early if there's no attestation included count is 0.

Which issues(s) does this PR fix?

Fixes #7972

Other notes for review

@terencechain terencechain requested a review from a team as a code owner November 27, 2020 16:46
@terencechain terencechain self-assigned this Nov 27, 2020
@terencechain terencechain added the Ready For Review A pull request ready for code review label Nov 27, 2020
@terencechain terencechain added this to the v1.1.0 milestone Nov 27, 2020
rkapka
rkapka previously approved these changes Nov 27, 2020
@terencechain terencechain changed the base branch from master to v1.1.0 November 27, 2020 17:08
@terencechain terencechain changed the base branch from v1.1.0 to develop November 30, 2020 22:26
@terencechain terencechain dismissed rkapka’s stale review November 30, 2020 22:26

The base branch was changed.

@prylabs-bulldozer prylabs-bulldozer bot merged commit ea10784 into develop Nov 30, 2020
@delete-merged-branch delete-merged-branch bot deleted the included-zero-return-early branch November 30, 2020 23:28
Copy link

@redblaze4209 redblaze4209 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

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.

First Voting Summary Logs have NaN
4 participants