Skip to content

fix: validate batch buy liquid balance - #836

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
samjay8:fix/issue-832
Aug 29, 2026
Merged

fix: validate batch buy liquid balance#836
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
samjay8:fix/issue-832

Conversation

@samjay8

@samjay8 samjay8 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Closes #832

Summary

  • Validate the combined quantity of batch recipient rows against the available liquid balance.
  • Reject malformed Stellar recipient addresses and disable confirmation until all rows are valid.
  • Submit only the validated address and quantity pairs to the batch mutation.

Scope

Does not change the separate marketing-links issue (#428) or unrelated batch-buy behavior.

Testing

  • corepack pnpm exec vitest run src/components/common/__tests__/BatchBuyModal.test.tsx — passed (5 tests)
  • corepack pnpm lint — passed
  • corepack pnpm build — passed
  • corepack pnpm format:check — pre-existing baseline failure across upstream dev files

Files changed

@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

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

@Chucks1093
Chucks1093 merged commit 317ee13 into accesslayerorg:dev Aug 29, 2026
1 check 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.

Add unit tests for the batch transfer modal validating that the total quantity cannot exceed the liquid balance

2 participants