Skip to content

fix: add emptyPollDelayMs option to stream poller and warn on large balances - #818

Merged
Just-Bamford merged 1 commit into
Sorokit:mainfrom
aniokedianne:fix/issues-750-751-753-754-stream-backoff
Oct 17, 2026
Merged

Just-Bamford merged 1 commit into
Sorokit:mainfrom
aniokedianne:fix/issues-750-751-753-754-stream-backoff

Conversation

@aniokedianne

Copy link
Copy Markdown
Contributor

Closes #750
Closes #751
Closes #753
Closes #754

Summary

Changes

  • src/soroban/types.ts — added emptyPollDelayMs?: number to StreamContractEventsOptions
  • src/soroban/streamContractEventsRealTime.ts — use emptyPollDelayMs when poll returns no new events
  • src/account/getAccount.ts — warn when balance exceeds Number.MAX_SAFE_INTEGER
  • src/tests/contractEvents.test.ts — new test verifying emptyPollDelayMs is used as next-tick delay on empty polls

@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@aniokedianne Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Just-Bamford
Just-Bamford merged commit e9e2ae1 into Sorokit:main Oct 17, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment