Skip to content

Fix: bound invoke() transaction polling with a timeout - #561

Merged
OxDev-max merged 1 commit into
OpenLedger-Foundation:mainfrom
thelux134:fix/issue-518-invoke-poll-timeout
Jul 31, 2026
Merged

Fix: bound invoke() transaction polling with a timeout#561
OxDev-max merged 1 commit into
OpenLedger-Foundation:mainfrom
thelux134:fix/issue-518-invoke-poll-timeout

Conversation

@thelux134

Copy link
Copy Markdown
Contributor

BaseClient.invoke() polled getTransaction() with no iteration cap or wall-clock deadline, so a dropped transaction or RPC outage would hang every write method on every SDK client indefinitely. Add a 30s deadline that throws a clear timeout error instead.

Closes #518

BaseClient.invoke() polled getTransaction() with no iteration cap or
wall-clock deadline, so a dropped transaction or RPC outage would hang
every write method on every SDK client indefinitely. Add a 30s deadline
that throws a clear timeout error instead.

Fixes OpenLedger-Foundation#518
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@thelux134 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

@OxDev-max
OxDev-max merged commit ce62a0f into OpenLedger-Foundation:main Jul 31, 2026
1 of 9 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.

sdk/src/base.ts BaseClient.invoke()'s transaction-confirmation polling loop has no timeout or max-retry bound

2 participants