Skip to content

Conversation

@Tofel
Copy link
Contributor

@Tofel Tofel commented Jan 23, 2026


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce a new functionality to replay log poller from a specified block in the Chainlink client. This is crucial for ensuring that events are not missed and for facilitating the reprocessing of events from a specific block height. Additionally, the inclusion of a new model ReplayResponse aligns with the need to properly structure the response from the replay request, enhancing the readability and manageability of the codebase.

What

  • framework/.changeset/v0.13.7.md
    • Added a changeset file for version 0.13.7 mentioning the addition of ReplayLogPollerFromBlock function.
  • framework/clclient/client.go
    • Imported strconv package for string conversion.
    • Added ReplayLogPollerFromBlock function to replay log poller from a specified block for an array of Chainlink clients.
    • Implemented (c *ChainlinkClient) ReplayLogPollerFromBlock method to make an API request to replay logs from a specified block.
  • framework/clclient/models.go
    • Imported math/big package for handling big integers.
    • Added ReplayResponse, ReplayResponseData, and ReplayResponseAttributes structs to model the response from replaying logs, which includes fields for message and EVM chain ID.

@Tofel Tofel requested a review from a team as a code owner January 23, 2026 13:48
Copilot AI review requested due to automatic review settings January 23, 2026 13:48
@github-actions
Copy link

👋 Tofel, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds functionality to replay the log poller from a specific block in the Chainlink client framework. It introduces new API models for handling replay responses and implements both single-client and multi-client replay methods.

Changes:

  • Added new response models (ReplayResponse, ReplayResponseData, ReplayResponseAttributes) to handle replay API responses
  • Implemented ReplayLogPollerFromBlock method for single Chainlink client and batch operation for multiple clients
  • Added changelog entry documenting the new feature

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
framework/clclient/models.go Adds response models for replay API with chain ID and message fields
framework/clclient/client.go Implements replay functionality with POST endpoint and concurrent batch processing
framework/.changeset/v0.13.7.md Documents the addition of ReplayLogPollerFromBlock function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tofel Tofel merged commit 87e4cfd into main Jan 23, 2026
73 of 75 checks passed
@Tofel Tofel deleted the dx-2592-migrate-log-poller-tests branch January 23, 2026 14:16
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.

2 participants