Skip to content

Conversation

@peachbits
Copy link
Contributor

@peachbits peachbits commented Dec 29, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

Note

Refines EVM token approval handling to improve Rango swap reliability, especially for non-standard tokens like USDT.

  • In defiUtils.ts, adds pendingTxs: [...out] to EdgeSpendInfo when creating approval spends so sequential approvals (e.g., reset-to-0 then set) are chained properly
  • In rango.ts, uses evmTransaction.txTo as the approval spender (recipientAddress) instead of approveTo, ensuring approvals target the actual swap contract

Written by Cursor Bugbot for commit 1d64d34. This will update automatically on new commits. Configure here.


@peachbits peachbits merged commit 9a88bec into master Dec 29, 2025
3 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.

3 participants