status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.88k stars 984 forks source link

{"token": , "chainId"} error on attempt to find some routes #20899

Open churik opened 1 month ago

churik commented 1 month ago

Bug Report

Follow up on https://github.com/status-im/status-mobile/pull/20631

Problem

Appeared in the last round of testing https://github.com/status-im/status-mobile/pull/20631#issuecomment-2252377138

On desktop seems there is no error, just "No routes found"

Expected behavior

Actual behavior

image

video:

https://github.com/user-attachments/assets/9d75af98-7d45-417a-87d1-8f36a1d3c870

Reproduction

In my case, it was an attempt to test fix https://github.com/status-im/status-mobile/pull/20631#issuecomment-2223562369, but seems might just appear in different cases

Steps:

  1. Recover user with available assets on the arb L2 network
  2. Attempt to build routes using value input for route building (example: 0.008 eth): L2 arb -> L1

Additional Information

Logs: logs (102).zip

VolodLytvynenko commented 1 month ago

in my case, this issue is reproducible in the following steps:

Steps:

  1. Restore the user with available assets except ETH
  2. Go to the routes generation page
  3. Enter a valid amount

Actual result:

The error notification is shown

https://github.com/user-attachments/assets/534b5ffa-aec1-4f08-a920-61a28509abf1

Expected result:

The error notification is not shown

Logs:

Status-debug-logs (1).zip