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
80 stars 62 forks source link

[QA] “Preview” section is not loading and "Current estimate" is not calculated #534

Closed tsadovska closed 11 months ago

tsadovska commented 1 year ago

Build:

https://sui-support--wormhole-connect.netlify.app/

Steps:

  1. Connect Sui wallet in 'From' section
  2. Connect Metamask wallet in 'To' section
  3. Send 0.2 SUI from Sui to BSC

Actual result:

Current estimates for option “Pay with SUI (one transaction)” are not calculated even after 2-3 minutes.

Expected results:

Current estimates for option “Pay with SUI (one transaction)” are calculated.

Device:

MacBook Pro, macOS Monterey 12.6.5, Chrome Version 112.0.5615.137 (Official Build) (x86_64)

Attachments:

Screenshot 2023-05-03 at 07 27 01

https://user-images.githubusercontent.com/10746654/235833491-d1689167-6a5d-45bc-a6dd-f64844cc2f46.mov

tsadovska commented 1 year ago

Issue is also reproducible on https://wormhole-connect.netlify.app/ when sending:

Attachments: Screenshot 2023-05-08 at 14 05 49

Screenshot 2023-05-08 at 14 06 46

tsadovska commented 1 year ago

Rechecked the issue on https://wormhole-connect.netlify.app/ [Testnet]

Steps:

  1. Select Sui network in ‘From’ section
  2. Select Metamask wallet in ‘To’ section
  3. Prepare to send 0.01 WMATIC from Sui to Mumbai
  4. Observe “Preview” and “Gas payment” sections

Actual results:

Uncaught (in promise) Error: Unable to get token info for relayer fee
    at t.SuiRelayer.calculateRelayerFee (relayer.ts:82:13)
    at async p.getRelayerFee (index.ts:558:5)
    at async index.ts:148:3

Expected results:

Note:

Issue is also reproducible with following scenarios:

Transaction fails when user clicks on “Approve and proceed with transaction” button (ticket: #537).

Device:

MacBook Pro, macOS Monterey 12.6.5, Chrome Version 114.0.5735.198 (Official Build) (x86_64)

Attachments:

Screenshot 2023-07-13 at 11 02 15

Screenshot 2023-07-13 at 12 03 13

tsadovska commented 1 year ago

Issue is reproducible on https://mainnet--wormhole-connect.netlify.app/ [Mainnet] when sending WBNB from Aptos (Spika wallet) to BSC (Metamask).

Error is displayed in Console:

Uncaught (in promise) Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)
    at f.makeError (index.ts:269:28)
    at f.throwError (index.ts:281:20)
    at c.<anonymous> (json-rpc-provider.ts:483:23)
    at Generator.throw (<anonymous>)
    at s (formatter.ts:523:1)

Screenshot 2023-07-31 at 17 01 39

AigaD commented 1 year ago

Reproducible from: https://base-relayer--wormhole-connect.netlify.app/# Current estimate not shown at pay with one transaction section TX WAVAX from Sui -> BSC Attachment:

Screenshot 2023-08-21 at 12 49 05
tsadovska commented 1 year ago

Issue will be rechecked after #942 is resolved.

tsadovska commented 11 months ago

Issue is no longer reproducible on https://wormhole-connect.netlify.app/ [Testnet] and https://wormhole-connect-mainnet.netlify.app/ [Mainnet].

Ticket is closed.