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] Infinite loading when resuming transaction sent from Sui Network #2741

Open agodlevska opened 1 month ago

agodlevska commented 1 month ago

Describe the current behavior in detail

Environment:

Steps:

  1. Initiate a transaction from the Sui network
  2. Attempt to resume the transaction (e.g. 2vTzdZa4yZmaHatnBA9xx6FBHdgmVjFbEbceV9D4o9kS)
  3. Observe the infinite loading

Actual Result: The transaction remains in an infinite loading state and does not resume.

Expected Result: The transaction should resume successfully.

Attachments/Notes

Errors in console:

Uncaught (in promise) Error: when deserializing item 'mintRecipient': chunk is shorter than expected: 1048 < 1060
    at updateOffset (pb-index-lWqu3ugb.js:276:9987)
    at deserializeLayoutItem (pb-index-lWqu3ugb.js:276:11825)
    at internalDeserializeLayout (pb-index-lWqu3ugb.js:276:10219)
    at deserializeLayout (pb-index-lWqu3ugb.js:276:9683)
    at pb-index-lWqu3ugb.js:276:145813
    at deserializePayload (pb-index-lWqu3ugb.js:276:146056)
    at deserialize$1 (pb-index-lWqu3ugb.js:276:145451)
    at getVaa (pb-index-lWqu3ugb.js:281:20216)
Uncaught (in promise) Error: Unknown token
    at parseTokenBridgeReceipt (pb-index-lWqu3ugb.js:309:45059)
    at async parseReceipt (pb-index-lWqu3ugb.js:309:44198)
    at async Object.vt [as onClick] (pb-index-lWqu3ugb.js:490:45074)
Screenshot 2024-09-26 at 09 47 59
kev1n-peters commented 1 month ago

This appears to only be an issue when resuming a manual token bridge transfer from Sui where the token is the native gas token 0x2::sui::SUI

tsadovska commented 1 week ago

Rechecked the issue on Netlify, issue is still reproducible. Checked the transfer: tx hash 2vTzdZa4yZmaHatnBA9xx6FBHdgmVjFbEbceV9D4o9kS (Sui).

tsadovska commented 1 day ago

Issue is reproducible on https://preview.portalbridge.com/0a16bf3ef2/ when sending 0.001 SUI from Sui (Sui wallet) to Solana (Phantom) with Token Bridge route. The transaction could not be found via "Resume Transaction".

https://github.com/user-attachments/assets/8c1f82b8-a12c-4ec6-bfe0-d4d4cc15eb42