-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
feat: add consensus_block_value
to produceBlockV3
#6136
Conversation
packages/beacon-node/src/chain/produceBlock/computeNewStateRoot.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly looks good, few changes then should be g2g 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## unstable #6136 +/- ##
=========================================
Coverage 80.02% 80.02%
=========================================
Files 19 19
Lines 1717 1717
Branches 155 155
=========================================
Hits 1374 1374
Misses 341 341
Partials 2 2 |
🎉 This PR is included in v1.13.0 🎉 |
Description
This is a follow up PR for #5880 which adds
consensus_block_value
toproduceBlockV3
. Please refer to the spec PR for the rationale of adding the field.Introduce a
RewardCache
type that is attached toBeaconStateCache
. It holds proposer’s reward for one state transition. Reward info is set/updated throughout thestate_transition()