XLabs / portal-bridge-ui

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

[bug] Transaction fails with "Not valid target address" error when valid wallet address is connected #981

Closed tsadovska closed 2 months ago

tsadovska commented 2 months ago

Is there an existing issue for this?

Current Behavior

Transaction fails.

Error validating transfer {chain: 'cosmos', address: 'inj1mqq0u6w0yetxgct4sk53pncaqzz0eml8j2ap97', 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/859350d189/
  2. Prepare to send 0.0001 W from Base (MetaMask) to Injective (Leap)
  3. Click on "Approve and proceed with transaction" button

Environment

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

Anything else?

Issue is not reproducible on https://portalbridge.com/.

yuli-ferna commented 2 months ago

@tsadovska I fixed the cosmos address validations

Captura de pantalla 2024-08-06 a las 9 10 59 a m
tsadovska commented 2 months ago

Thank you! Re-checked on https://preview.portalbridge.com/859350d189/ [Mainnet], issue is no longer reproducible. Ticket is closed.