metamask-mobile
metamask-mobile copied to clipboard
[BUG] Error fetching quote when swapping ERC20 to other tokens
Describe the bug
When selecting a ERC20 token as the From token for swap, after trying to get the quotes, the "Error fetching quote" would be displayed.
Screenshots/Recordings
https://github.com/MetaMask/metamask-mobile/assets/22276767/50a3eac3-9d61-4e00-a221-200debd8f1ad
Expected behavior
The swipe to swap screen should be displayed and show the quotes.
Steps to reproduce
- Tap the swap button from the tab bar actions
- Select ERC20 as the from token
- Select a native token or another ERC20 token as the to token
- Tap Get quotes button
@sethkfman this is solved by https://github.com/MetaMask/metamask-mobile/pull/9689