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
82 stars 66 forks source link

[QA] Infinite loading when resuming transaction sent from Sui Network #2741

Open agodlevska opened 2 months ago

agodlevska commented 2 months 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 2 months 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 3 weeks ago

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

tsadovska commented 2 weeks 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

SergejsBeikulis commented 1 week ago

Issue is reproducible on https://preview.portalbridge.com/0a16bf3ef2/ Sending 0.001 SUI from Sui (Sui wallet) to Fantom (Rabby) with Token Bridge route. When user resumes transaction the transactions infinite loads. Transaction hash: 4YRVbC9g1SbADiPjSQ9T5wL4GZigeA63GSDZPXTv3MxX

agodlevska commented 8 hours ago

Issue is still reproducible on https://wormhole-connect-mainnet.netlify.app/, when sending 0.001 SUI from Sui (Sui) to Base (MetaMask). The tx remains in an infinite loading state and does not resume.