Skip to content

feat: add validation error struct for computeFee to handle spendable balance error - #169

Draft
Julink-eth wants to merge 4 commits into
mainfrom
feat/handle-spendable-balance-error
Draft

feat: add validation error struct for computeFee to handle spendable balance error#169
Julink-eth wants to merge 4 commits into
mainfrom
feat/handle-spendable-balance-error

Conversation

@Julink-eth

Copy link
Copy Markdown
Contributor

Explanation

Return structured validation errors from computeFee for insufficient native balance and fee coverage.
Report accurate available and required balances for swaps with multiple native debits.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@Julink-eth
Julink-eth requested a review from a team as a code owner July 27, 2026 08:44
@Julink-eth
Julink-eth marked this pull request as draft July 27, 2026 12:22
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