Skip to content

Fix: handle offset edge case#336

Merged
stackman27 merged 1 commit intodevelopfrom
fix/offset-testnet-issue
Jan 28, 2026
Merged

Fix: handle offset edge case#336
stackman27 merged 1 commit intodevelopfrom
fix/offset-testnet-issue

Conversation

@faisal-chainlink
Copy link
Collaborator

The current offset stored for events takes into account the EventSeq read from the RPC along with the total count.

The issue is that this can cause a jump in the offset in specific scenarios.

The resolution simply uses a value of 1 instead of EventSeq along with the totalCount to make sure it is always correctly sequential.

@faisal-chainlink faisal-chainlink requested a review from a team as a code owner January 28, 2026 17:38
@github-actions
Copy link

👋 faisal-chainlink, 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

@stackman27 stackman27 left a comment

Choose a reason for hiding this comment

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

LGTM Thank you!

@stackman27 stackman27 merged commit b8a57c7 into develop Jan 28, 2026
29 checks passed
@stackman27 stackman27 deleted the fix/offset-testnet-issue branch January 28, 2026 19:08
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