Skip to content

Commit aa1be25

Browse files
tersecrolfyone
andauthored
disambiguate and ensure consistency of proposeBlockV3/getBlockRewards consensus block value (#481)
Co-authored-by: Paul Harris <[email protected]>
1 parent 7e9bd04 commit aa1be25

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

apis/beacon/rewards/blocks.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
get:
22
operationId: getBlockRewards
33
summary: Get block rewards
4-
description: Retrieve block reward info for a single block
4+
description: |
5+
Retrieve block reward info for a single block. The rewards value is the sum
6+
of values of the proposer rewards from attestations, sync committees and
7+
slashings included in the proposal.
58
tags:
69
- Beacon
710
- Rewards

beacon-node-oapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,11 @@ components:
486486
$ref: './types/primitive.yaml#/Wei'
487487
Eth-Consensus-Block-Value:
488488
description: |
489-
Consensus rewards paid to the proposer for this block, in Wei. Required in response so
490-
client can determine relative value of consensus blocks.
489+
Consensus rewards for this block in Wei paid to the proposer. The
490+
rewards value is the sum of values of the proposer rewards from
491+
attestations, sync committees and slashings included in the proposal.
492+
Required in response so client can determine relative value of
493+
consensus blocks.
491494
required: true
492495
schema:
493496
$ref: './types/primitive.yaml#/Wei'

0 commit comments

Comments
 (0)