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] [Hyperliquid] Token balances are not displayed for some networks when "HyperliquidRoute" is added in Custom config #3280

Open
tsadovska opened this issue Feb 13, 2025 · 1 comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement p1 Important issue

Comments

@tsadovska
Copy link
Collaborator

tsadovska commented Feb 13, 2025

Describe the current behavior in detail

Reproducible on https://deploy-preview-3239--wormhole-connect-mainnet.netlify.app/.

Steps:

  1. Open Netlify with following config
  2. Select Ethereum network and ETH token in "From" section (MetaMask wallet connects automatically)
  3. Open "To" section
  4. Check if balance is displayed for Base and BSC networks (MetaMask wallet connects automatically)

Actual result: Token balances are not displayed for Base and BSC networks. However, when "HyperliquidRoute" is removed from Custom config, balances are displayed for these networks with the same scenario.

Expected result: Token balances are displayed when "HyperliquidRoute" config is set.

Attachment

Screen.Recording.2025-02-13.at.12.59.13.mov

Image

Note

Issue is also reproducible after "empty cache and hard reload".

Error in Console:

Failed to get token balances Error: could not decode result data (value="0x", info={ "method": "balanceOf", "signature": "balanceOf(address)" }, code=BAD_DATA, version=6.13.5)
    at makeError (main-BD6wfkJ2.js:289:67248)
    at assert$6 (main-BD6wfkJ2.js:289:67432)
    at Ro.decodeFunctionResult (main-BD6wfkJ2.js:290:115562)
    at it (main-BD6wfkJ2.js:290:142907)
    at async rt (main-BD6wfkJ2.js:290:141950)
    at async Proxy.balanceOf (main-BD6wfkJ2.js:290:142972)
    at async main-BD6wfkJ2.js:408:89285
    at async Promise.all (/index 38)
    at async ms.getBalances (main-BD6wfkJ2.js:408:89240)
    at async main-BD6wfkJ2.js:415:152905
@tsadovska tsadovska added connect v2 Tickets that relate to the full redesign+sdkv2 replacement p1 Important issue labels Feb 13, 2025
@agodlevska
Copy link
Collaborator

Issue is also reproducible from my side on deploy-preview-3239, token balances are not displayed for Base, BSC, Optimism, Polygon, Avalanche and etc.

Attachment:

Image

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 p1 Important issue
Projects
None yet
Development

No branches or pull requests

2 participants