Skip to content
Closed
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
2 changes: 2 additions & 0 deletions openapi-specs/eth2/signing/paths/sign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ post:
- $ref: '../schemas.yaml#/components/schemas/SyncCommitteeSelectionProofSigning'
- $ref: '../schemas.yaml#/components/schemas/SyncCommitteeContributionAndProofSigning'
- $ref: '../schemas.yaml#/components/schemas/ValidatorRegistrationSigning'
- $ref: '../schemas.yaml#/components/schemas/PayloadAttestationMessageSigning'
discriminator:
propertyName: type
mapping:
Expand All @@ -47,6 +48,7 @@ post:
SYNC_COMMITTEE_SELECTION_PROOF: '../schemas.yaml#/components/schemas/SyncCommitteeSelectionProofSigning'
SYNC_COMMITTEE_CONTRIBUTION_AND_PROOF: '../schemas.yaml#/components/schemas/SyncCommitteeContributionAndProofSigning'
VALIDATOR_REGISTRATION: '../schemas.yaml#/components/schemas/ValidatorRegistrationSigning'
PAYLOAD_ATTESTATION_MESSAGE: '../schemas.yaml#/components/schemas/PayloadAttestationMessageSigning'
examples:
BLOCK_V2 (FULU):
value:
Expand Down
35 changes: 35 additions & 0 deletions openapi-specs/eth2/signing/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,21 @@ components:
required:
- type
- contribution_and_proof
PayloadAttestationMessageSigning:
allOf:
- $ref: '#/components/schemas/Signing'
- type: object
properties:
type:
type: "string"
description: Signing Request type
enum:
- 'PAYLOAD_ATTESTATION_MESSAGE'
payload_attestation_message:
$ref: "#/components/schemas/PayloadAttestationData"
required:
- type
- payload_attestation_message
ValidatorRegistrationSigning:
allOf:
- type: object
Expand Down Expand Up @@ -571,6 +586,26 @@ components:
selection_proof:
type: string
description: Bytes96 hexadecimal
PayloadAttestationData:
type: object
description: >-
The data component of a PayloadAttestationMessage, signed by a PTC
validator using DOMAIN_PTC_ATTESTER (0x0C000000).
properties:
beacon_block_root:
type: string
description: Bytes32 hexadecimal
example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2'
slot:
type: string
format: uint64
example: '1'
payload_present:
type: boolean
description: Whether the execution payload for this slot is present
blob_data_available:
type: boolean
description: Whether blob data is available for this slot
SyncCommitteeMessage:
type: object
properties:
Expand Down
Loading