Skip to content

Add IL committee duties endpoint to BN - #4

Closed
conache wants to merge 10 commits into
unstablefrom
il-duties-endpoint
Closed

conache wants to merge 10 commits into
unstablefrom
il-duties-endpoint

Conversation

@conache

@conache conache commented Jul 28, 2026 •

Copy link
Copy Markdown
Owner

Issue Addressed

Implements the inclusion list committee duties endpoint (per Beacon API specs)

Proposed Changes

  • Add the POST /eth/v1/validator/duties/inclusion_list/{epoch} endpoint, returning each requested validator's inclusion list committee duty slot
  • Compute the duties with a single walk per slot, over the epoch's committees, reusing get_inclusion_list_committee
  • The endpoint doesn't reject pre-Heze epochs, matching the other duties endpoints' behaviour. Pre-Heze the response is derived from the same beacon committee prefix the spec uses post-fork, so a validator client polling across the boundary gets a consistent answer
  • Add tests for the new endpoint, including fork boundary behaviour checks

Additional Info

The endpoint's response intentionally omits the inclusion_list_committee_root in the returned duty object, even though the beacon-APIs spec PR still lists it. I've flagged on the spec PR that this field should be removed.

@conache
conache force-pushed the il-duties-endpoint branch from f107928 to 23f2330 Compare August 12, 2026 10:13
@conache conache changed the title Add IL committee duties endpoint Add IL committee duties endpoint to BN Aug 13, 2026
@conache
conache marked this pull request as ready for review August 16, 2026 11:35
@conache
conache changed the base branch from unstable to heze-block-production September 8, 2026 18:36
@conache
conache changed the base branch from heze-block-production to unstable September 22, 2026 14:47
@conache

conache commented Sep 22, 2026

Copy link
Copy Markdown
Owner Author

Closing in favor of sigp#10111

@conache conache closed this Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant