Skip to content

Implemented PostPtcDuties api endpoint - #10441

Merged
rolfyone merged 9 commits into
Consensys:masterfrom
rolfyone:10405-0
Mar 17, 2026
Merged

Implemented PostPtcDuties api endpoint#10441
rolfyone merged 9 commits into
Consensys:masterfrom
rolfyone:10405-0

Conversation

@rolfyone

@rolfyone rolfyone commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

fixes #10405

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Note

Medium Risk
Introduces a new validator REST endpoint and wires it into core API routing; correctness depends on fork gating and syncing/store-availability checks, which could affect validator client behavior if mis-specified.

Overview
Adds a new POST /eth/v1/validator/duties/ptc/{epoch} endpoint to return Payload Timeliness Committee (PTC) duties, including fork gating (rejects pre-Gloas) and syncing/store-availability protection (returns 503).

Wires the handler into the REST API builder, adds a ValidatorDataProvider.getPtcDuties passthrough to ValidatorApiChannel, and includes OpenAPI path/schema fixtures plus an integration test covering pre-fork, syncing, and successful responses.

Written by Cursor Bugbot for commit 422be9c. This will update automatically on new commits. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

@zilm13 zilm13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rolfyone
rolfyone enabled auto-merge (squash) March 17, 2026 03:29
@rolfyone
rolfyone merged commit c815e3c into Consensys:master Mar 17, 2026
126 of 128 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 17, 2026
@rolfyone
rolfyone deleted the 10405-0 branch March 17, 2026 04:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[beacon-api] POST /eth/v1/validator/duties/ptc/{epoch}

2 participants