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
78 stars 58 forks source link

[QA] Missing transaction history for Sui network #2742

Closed agodlevska closed 3 days ago

agodlevska commented 4 days ago

Describe the current behavior in detail

Environment:

Steps:

  1. Select Sui network in "From" section
  2. Connect Sui/Martian wallet
  3. Navigate to the transaction history section
  4. Observe the displayed message

Actual Result: The message "No transactions found for the wallet ..." appears, indicating no transactions are found despite their presence on the wallet.

Expected Result: The transaction history should be displayed accurately for the connected wallet.

Attachments/Notes

Error in console:

Error: Chain Sui not supported
    at toMayanChainName (pb-index-lWqu3ugb.js:519:463439)
    at fetchTokensForChain (pb-index-lWqu3ugb.js:519:463886)
    at MayanRouteSWIFT.supportedSourceTokens (pb-index-lWqu3ugb.js:519:466728)
    at SDKv2Route.supportedSourceTokens (pb-index-lWqu3ugb.js:309:66486)
    at async pb-index-lWqu3ugb.js:311:203663
    at async Promise.all (712d941311/index 6)
    at async RouteOperator.allSupportedSourceTokens (pb-index-lWqu3ugb.js:311:203616)
    at async pb-index-lWqu3ugb.js:490:53511
Screenshot 2024-09-26 at 09 52 53
emreboga commented 4 days ago

It seems an error from Mayan API is interrupting the TX history flow and we are not rendering results from WHScan API. I'll take a look into this.

tsadovska commented 4 days ago

Similar issue: Transaction history is also not shown for Aptos network, ticket https://github.com/wormhole-foundation/wormhole-connect/issues/2746.