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

fix: correct total block value in publish block log #6336

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Jan 22, 2024

Description

consensusBlockValue should be in wei and not gwei. Previous PR #6286 fixed the unit but forgot to change the unit when calculating the total block value (totalBlockValue) in the publish block log which this PR aims to fix.

Closes #6316

@ensi321 ensi321 requested a review from a team as a code owner January 22, 2024 05:59
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

Merging #6336 (a50c276) into unstable (0f375fa) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6336   +/-   ##
=========================================
  Coverage     76.59%   76.59%           
=========================================
  Files           248      248           
  Lines         25907    25907           
  Branches       1448     1448           
=========================================
  Hits          19844    19844           
  Misses         6033     6033           
  Partials         30       30           

@nflaig nflaig changed the title fix: consensusBlockValue unit in debug log fix: correct total block value in publish block log Jan 22, 2024
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

LGTM, I updated the PR description to be more accurate as this is related to total block value (totalBlockValue) which is printed out as info log when we publish the block.

@wemeetagain wemeetagain merged commit 5bcc875 into ChainSafe:unstable Jan 22, 2024
15 of 17 checks passed
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.15.0 🎉

jeluard pushed a commit to jeluard/lodestar that referenced this pull request Jan 30, 2024
* Fix consensusBlockValue unit in debug log

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect total block value in publish block log
3 participants