Implemented PostPtcDuties api endpoint - #10441
Merged
Merged
Conversation
ptc duties can no longer lookahead, with PR ethereum/beacon-APIs#586 - updated description.
zilm13
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

fixes #10405
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog
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.getPtcDutiespassthrough toValidatorApiChannel, 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.