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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validator registration #206

Closed
Closed
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
14 changes: 14 additions & 0 deletions apis/validator/prepare_beacon_proposer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ post:
information periodically, for example each epoch, to ensure beacon nodes have
correct and timely fee recipient information.

Optionally the validator may also include a signed validator registration
which will be used by the Builder API to verify a validator's latest fee
recipient and preferred gas limit.

Note that there is no guarantee that the beacon node will use the supplied fee
recipient when creating a block proposal, so on receipt of a proposed block the
validator should confirm that it finds the fee recipient within the block
Expand All @@ -32,6 +36,16 @@ post:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
fee_recipient:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/ExecutionAddress'
validator_registration:
type: object
properties:
timestamp:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
gas_limit:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
signature:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Signature'

responses:
"200":
description: |
Expand Down