XLabs / portal-bridge-ui

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

[bug] "Error: Simulation error" when claiming W asset on Solana #1021

Closed agodlevska closed 2 months ago

agodlevska commented 3 months ago

Is there an existing issue for this?

Current Behavior

Transaction fails. Error:

Error: Simulation error: {"context":{"apiVersion":"1.18.21","slot":283713440},"value":{"accounts":null,"err":"BlockhashNotFound","innerInstructions":null,"logs":[],"returnData":null,"unitsConsumed":0}}
    at NttManager.simulate (pb-index-BXpITdvM.js:543:121219)
    at async NttManager.signAndSendTransaction (pb-index-BXpITdvM.js:543:121868)
    at async NttManager.receiveMessage (pb-index-BXpITdvM.js:543:107149)
    at async NttManual.redeem (pb-index-BXpITdvM.js:543:126375)
    at async Operator.redeem (pb-index-BXpITdvM.js:543:139006)
    at async Object.Un [as onClick] (pb-index-BXpITdvM.js:770:1327)

Expected Behavior

Asset is claimed and transaction completes successfully.

Steps To Reproduce

  1. Open https://preview.portalbridge.com/321a610744/
  2. Open Menu > Resume transaction
  3. Search for transaction hash 0x83aad5c9d4a57a6ca99b97caf35a98cecbd6194646d85a95ee6b750f03cc8abc (Base)
  4. Click on "Claim" button
  5. Check if transaction has completed

Environment

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

Anything else?

Screenshot 2024-08-15 at 11 03 21
agodlevska commented 2 months ago

Checked on https://portalbridge.com/. Issue is no longer reproducible. The manual NTT route is currently unavailable when sending to Solana but transactions are still successfully completing through the automatic NTT route.

1.

2.