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

disambiguate and ensure consistency of proposeBlockV3/getBlockRewards consensus block value #481

Merged
merged 5 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apis/beacon/rewards/blocks.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
get:
operationId: getBlockRewards
summary: Get block rewards
description: Retrieve block reward info for a single block
description: |
Retrieve block reward info for a single block. The rewards value is the sum
of values of the proposer rewards from attestations, sync committees and
slashings included in the proposal.
tags:
- Beacon
- Rewards
Expand Down
7 changes: 5 additions & 2 deletions beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,11 @@ components:
$ref: './types/primitive.yaml#/Wei'
Eth-Consensus-Block-Value:
description: |
Consensus rewards paid to the proposer for this block, in Wei. Required in response so
client can determine relative value of consensus blocks.
Consensus rewards for this block in Wei paid to the proposer. The
rewards value is the sum of values of the proposer rewards from
attestations, sync committees and slashings included in the proposal.
Required in response so client can determine relative value of
consensus blocks.
required: true
schema:
$ref: './types/primitive.yaml#/Wei'
Loading