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
81 stars 64 forks source link

[QA] "Error: could not coalesce error" occurs when claiming asset #2546

Open tsadovska opened 2 months ago

tsadovska commented 2 months ago

Describe the current behavior in detail

Checked on wormhole-connect-mainnet with macOS Sonoma 14.5 and Google Chrome Version 128.0.6613.120 (Official Build) (arm64).

Steps:

  1. Prepare to send 0.001234 SOL from Solana (Phantom) to BSC (MetaMask)
  2. Select Manual route
  3. Click on "Claim" button

Actual result: Transaction fails.

Error: could not coalesce error (error={ "message": "No matching key. keychain: 426b687e4e7bf8d4984fc11ddfd5c5b855d621a2b33be1874e964d8941ff48cc" }, payload={ "id": 5, "jsonrpc": "2.0", "method": "wallet_addEthereumChain", "params": [ { "blockExplorerUrls": [ "https://bscscan.com", "https://bscscan.com" ], "chainId": "0x38", "chainName": "BNB Smart Chain", "nativeCurrency": { "decimals": 18, "name": "BNB", "symbol": "BNB" }, "rpcUrls": [ "https://rpc.ankr.com/bsc" ] } ] }, code=UNKNOWN_ERROR, version=6.13.2)
    at makeError (main-BUFOYwdP.js:235:68988)
    at Ya.getRpcError (main-BUFOYwdP.js:236:212926)
    at Ya.getRpcError (evm-CjWSIFBG.js:2:1700)
    at main-BUFOYwdP.js:236:215228

Expected result: Transaction proceeds without errors.

Notes/ Attachments

Issue is reproducible when user clicks on "Claim" button several times.

image

tsadovska commented 2 months ago

Issue is also reproducible when sending WETH (Base) from Solana (Phantom) to Base (MetaMask).

Checked on wormhole-connect-mainnet.

An error appears after clicking on "Claim" button. Transaction finishes successfully, link to Wormholescan.

Error: could not coalesce error (error={ "code": -32603, "data": { "cause": null, "error": { "code": -32016, "message": "over rate limit" }, "id": 1086800123, "jsonrpc": "2.0" }, "message": "Non-200 status code: '429'" }, payload={ "id": 18, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "0x12af0e3", true ] }, code=UNKNOWN_ERROR, version=6.13.2)
    at makeError (main-DyeDmw1W.js:235:68988)
    at Ya.getRpcError (main-DyeDmw1W.js:236:212926)
    at Ya.getRpcError (evm-Cx7nIM-U.js:2:1700)
    at main-DyeDmw1W.js:236:215228

image

agodlevska commented 5 days ago

Checked on https://preview.portalbridge.com/0a16bf3ef2/. Issue reproducible when claiming transaction - 0.012 DAI from Optimism (Coinbase) to Arbitrum (Coinbase).

Reopening the issue.

Attachment:

Screenshot 2024-11-11 at 17 22 41