wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
81 stars 64 forks source link

[QA] "Transaction history" page is not loading #2677

Closed tsadovska closed 1 month ago

tsadovska commented 1 month ago

Describe the current behavior in detail

Checked on https://portalbridge.com/:

Steps:

  1. Select Sui network and connect Sui wallet in "From" section
  2. Click on "Transaction history" icon

Actual result: Loading does not complete. Expected result: Transaction history is displayed.

Notes/ Attachments

Issue is reproducible with:

Failed to get token balances Vr: Invalid array length, expecting 32
    at gi.request (https://portalbridge.com/assets/sui-Cyoug3Go-_9jJqC8L.js:11:14154)
    at async Os.getBalance (https://portalbridge.com/assets/sui-Cyoug3Go-_9jJqC8L.js:11:43003)
    at async he.getBalance (https://portalbridge.com/assets/sui-Cyoug3Go-_9jJqC8L.js:11:54634)
    at async https://portalbridge.com/assets/sui-Cyoug3Go-_9jJqC8L.js:11:54786
    at async Promise.all (index 1)
    at async he.getBalances (https://portalbridge.com/assets/sui-Cyoug3Go-_9jJqC8L.js:11:54744)
    at async https://portalbridge.com/pb-index-Bk8S0RNv.js:522:12560

https://github.com/user-attachments/assets/3861c839-f33a-4371-b2f3-835367aafeb7

emreboga commented 1 month ago

The problem seems like an unexpected error from Mayan API:

{"code":"INVALID_ADDRESS","msg":"Invalid address!"}

I'll first handle this error so the page will fail gracefully and then reach out to Mayan folks to fix this on their end.