fix: resolve issues #323 #324 #325 #326 — add tests for retry, assemble, events, payments#366
Open
k-deejah wants to merge 1 commit into
Open
fix: resolve issues #323 #324 #325 #326 — add tests for retry, assemble, events, payments#366k-deejah wants to merge 1 commit into
k-deejah wants to merge 1 commit into
Conversation
…O4-Markets#326 — add tests for retry, assemble, events, payments SO4-Markets#323 Web lib: retry/backoff utility - Add apps/web/src/lib/retry.ts with exponential backoff using setTimeout - Add apps/web/src/lib/retry.test.ts with fake timers driving all delays - Tests: eventual success, exhausted retries, abort via AbortSignal, attempt counts, backoff delay formula, shouldRetry predicate SO4-Markets#324 Web Soroban client: assembleTransaction path - Add apps/web/src/lib/soroban/assemble.ts wrapping rpc.assembleTransaction - Add apps/web/src/lib/soroban/assemble.test.ts using real SDK types - Tests: assembled tx fields/footprint, minResourceFee surfaced, error/restore simulation rejection, assembleAndBuild convenience wrapper SO4-Markets#325 Web Soroban client: events query parsing - Add apps/web/src/lib/soroban/events.ts using sorobanRpc.getEvents - Add apps/web/src/lib/soroban/events.test.ts with MSW intercepting RPC POST - Tests: decoded topics/values from XDR fixtures, pagination cursor, empty result fallback SO4-Markets#326 Web Horizon client: payment history pagination - Add apps/web/src/lib/stellar/payments.ts using direct fetch to Horizon - Add apps/web/src/lib/stellar/payments.test.ts with MSW GET handlers - Tests: single page, multi-page cursor advancement, merged results, empty history fallback, fetchAllPaymentHistory auto-pagination
|
@k-deejah is attempting to deploy a commit to the Ijai's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@k-deejah 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…
closes #323 Web lib: retry/backoff utility
closes #324 Web Soroban client: assembleTransaction path
closes #325 Web Soroban client: events query parsing
closes #326 Web Horizon client: payment history pagination