XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 35 forks source link

[bug] Validation error during transfer to X Layer #1022

Closed tsadovska closed 1 month ago

tsadovska commented 1 month ago

Is there an existing issue for this?

Current Behavior

Transaction fails. Error in Console:

Error validating transfer {chain: '', address: '0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012', error: TypeError: (intermediate value) is not iterable
    at isSanctioned (https://preview.portalbridge.c…}

image

Expected Behavior

Transaction proceeds without errors.

Steps To Reproduce

  1. Open https://preview.portalbridge.com/321a610744/
  2. Prepare to send 0.001 WFTM from Fantom (MetaMask) to X Layer (MetaMask)
  3. Click on "Approve and proceed with transaction" button

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask
- Browser: Google Chrome Version 127.0.6533.120 (Official Build) (arm64)

Anything else?

Issue is also reproducible during following transferts:

tsadovska commented 1 month ago

Issue is reproducible on https://preview.portalbridge.com/321a610744/ (Portal Bridge: v0.2.15-P7451a01963, Wormhole Connect: v^0.3.20-beta.3-development).

An error appears in Console after clicking on Approve button:

Error validating transfer {chain: '', address: '0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012', error: TypeError: (intermediate value) is not iterable
    at isSanctioned (https://preview.portalbridge.c…}

image

agodlevska commented 1 month ago

Checked on https://preview.portalbridge.com/321a610744/ (Portal Bridge: v0.2.15-P22997d4780, Wormhole Connect: v^0.3.20-beta.4-development).

There were no errors in the console and the transactions were successfully completed. The ticket can be closed.