Skip to content

Conversation

@rolfyone
Copy link
Contributor

@rolfyone rolfyone commented Jan 30, 2026

Should be a reasonable MVP set of unit tests, can expand if needed

partially addresses #10301

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
Adds new RPC response-flow logic (async streaming and rate-limiter adjustment) that could affect peer request handling, but is contained to a new/previously unimplemented Gloas RPC path and backed by unit tests.

Overview
Implements ExecutionPayloadEnvelopesByRangeMessageHandler.onIncomingMessage to actually fetch execution payload envelopes via RecentChainData.retrieveSignedExecutionPayloadEnvelopeByRange, stream responses via the callback, and adjust the peer rate limiter when fewer envelopes are returned than requested.

Adds MVP unit tests covering rate-limited requests, full responses, and partial responses (including the rate-limit adjustment), plus a ChainBuilder.getExecutionPayloads(startSlot,count) helper to supply deterministic slot-ordered fixtures. Introduces a new RecentChainData.retrieveSignedExecutionPayloadEnvelopeByRange stub API (empty when pre-genesis, otherwise still TODO).

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

Copy link

@cursor cursor bot left a comment

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 2 potential issues.

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