Skip to content

Commit

Permalink
blocksv3: add consensus value (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck authored Oct 1, 2023
1 parent 37392ab commit c7ac49e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/validator/block.v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ get:
$ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Execution-Payload-Blinded'
Eth-Execution-Payload-Value:
$ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Execution-Payload-Value'
Eth-Consensus-Block-Value:
$ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Block-Value'
content:
application/json:
schema:
Expand All @@ -69,6 +71,9 @@ get:
execution_payload_value:
type: string
example: "12345"
consensus_block_value:
type: string
example: "12345"
data:
oneOf:
- $ref: '../../beacon-node-oapi.yaml#/components/schemas/BeaconBlock'
Expand Down
5 changes: 5 additions & 0 deletions beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -434,3 +434,8 @@ components:
required: true
schema:
$ref: './types/primitive.yaml#/Wei'
Eth-Consensus-Block-Value:
description: Required in response so client can determine relative value of consensus blocks.
required: true
schema:
$ref: './types/primitive.yaml#/Wei'

0 comments on commit c7ac49e

Please sign in to comment.