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

feat: add consensus_block_value to produceBlockV3 #6136

Merged
merged 19 commits into from
Dec 8, 2023

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Nov 28, 2023

Description

This is a follow up PR for #5880 which adds consensus_block_value to produceBlockV3. Please refer to the spec PR for the rationale of adding the field.

Introduce a RewardCache type that is attached to BeaconStateCache. It holds proposer’s reward for one state transition. Reward info is set/updated throughout the state_transition()

@ensi321 ensi321 marked this pull request as ready for review December 4, 2023 09:20
@ensi321 ensi321 requested a review from a team as a code owner December 4, 2023 09:20
@ensi321 ensi321 marked this pull request as draft December 5, 2023 13:08
@ensi321 ensi321 marked this pull request as ready for review December 6, 2023 09:23
@ensi321 ensi321 requested a review from g11tech December 6, 2023 09:23
Copy link
Contributor

@g11tech g11tech left a 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 👍

Copy link
Contributor

@g11tech g11tech left a comment

Choose a reason for hiding this comment

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

lgtm

@g11tech g11tech enabled auto-merge (squash) December 8, 2023 12:19
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #6136 (44344c5) into unstable (53378e1) will not change coverage.
The diff coverage is n/a.

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           

@g11tech g11tech merged commit 42b2efe into ChainSafe:unstable Dec 8, 2023
14 of 15 checks passed
@ensi321 ensi321 deleted the blocksv3 branch December 19, 2023 07:53
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.13.0 🎉

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.

3 participants