Skip to content

Commit

Permalink
disambiguate and ensure consistency of proposeBlockV3/`getBlockRewa…
Browse files Browse the repository at this point in the history
…rds` consensus block value (ethereum#481)

Co-authored-by: Paul Harris <[email protected]>
  • Loading branch information
tersec and rolfyone authored Jan 12, 2025
1 parent 7e9bd04 commit aa1be25
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
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'

0 comments on commit aa1be25

Please sign in to comment.