Skip to content

fix: event Skipping via Pagination Failure in Solana Event Listener#224

Merged
Aman035 merged 3 commits into
audit-fixesfrom
F-2026-16944
May 7, 2026
Merged

fix: event Skipping via Pagination Failure in Solana Event Listener#224
Aman035 merged 3 commits into
audit-fixesfrom
F-2026-16944

Conversation

@Aman035

@Aman035 Aman035 commented May 7, 2026

Copy link
Copy Markdown
Member

Changes:

  • Added backward pagination to processSlotRange (no page cap; min-slot signature drives both termination and the next cursor — robust against RPC getSignaturesForAddress ordering is not consistent and does not match docs solana-labs/solana#22456).
  • Per-page streaming so memory stays bounded by one page regardless of backlog size.
  • WARN log per page once a single poll exceeds 100k in-range sigs, with an actionable hint.
  • Added test coverage for pagination, cursor selection, ordering robustness, and the warning behavior.

@Aman035 Aman035 changed the title F 2026 16944 fix: Event Skipping via Pagination Failure in Solana Event Listener May 7, 2026
@Aman035 Aman035 changed the title fix: Event Skipping via Pagination Failure in Solana Event Listener fix: event Skipping via Pagination Failure in Solana Event Listener May 7, 2026
@Aman035 Aman035 changed the title fix: event Skipping via Pagination Failure in Solana Event Listener fix: event Skipping via Pagination Failure in Solana Event Listener May 7, 2026
@Aman035 Aman035 merged commit 35bd9b6 into audit-fixes May 7, 2026
7 of 10 checks passed
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