Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] "Error parsing address" is shown in Console when typing in Search field #3160

Open
tsadovska opened this issue Jan 8, 2025 · 1 comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p2 Low priority issue

Comments

@tsadovska
Copy link
Collaborator

Describe the current behavior in detail

Reproducible on Netlify (preview 2985).
Tested OK on https://wormhole-connect-mainnet.netlify.app/ and https://portalbridge.com/.

Steps:

  1. Open Console
  2. Select Ethereum network (MetaMask wallet connects automatically)
  3. Enter "A" in the search field
  4. Check for errors in Console

Actual result: Errors are shown in Console.
Expected result: Errors are not shown.

Notes/ Attachments

Error parsing address as a native Ethereum address: Invalid EVM address, expected 20-byte hex string but got A

Attempting to parse as UniversalAddress

Error: string A has invalid length for format hex
    at main-CbJ7eGNM.js:294:149171
    at Ts.stringToUint8Array (main-CbJ7eGNM.js:294:149469)
    at new Ts (main-CbJ7eGNM.js:294:148572)
    at toNative (main-CbJ7eGNM.js:294:150422)
    at Object.onQueryChange (main-CbJ7eGNM.js:439:19274)
    at Object.onChange (main-CbJ7eGNM.js:439:10157)
    at onChange (main-CbJ7eGNM.js:439:9430)
    at gr (main-CbJ7eGNM.js:130:8382)
    at Object.Nb (main-CbJ7eGNM.js:38:10225)
    at Tb (main-CbJ7eGNM.js:38:10391)

image

@tsadovska tsadovska added p2 Low priority issue connect v2 Tickets that relate to the full redesign+sdkv2 replacement labels Jan 8, 2025
@artursapek
Copy link
Collaborator

next release of the SDK will fix this wormhole-foundation/wormhole-sdk-ts@97805ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p2 Low priority issue
Projects
None yet
Development

No branches or pull requests

2 participants