metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

[BUG] Error fetching quote when swapping ERC20 to other tokens

Open SamuelSalas opened this issue 1 year ago • 1 comments

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

  1. Tap the swap button from the tab bar actions
  2. Select ERC20 as the from token
  3. Select a native token or another ERC20 token as the to token
  4. Tap Get quotes button

SamuelSalas avatar May 17 '24 19:05 SamuelSalas

@sethkfman this is solved by https://github.com/MetaMask/metamask-mobile/pull/9689

nikoferro avatar May 20 '24 18:05 nikoferro