[Bug]: Bridge SOL to BNB tx activity and balance takes time to be displayed
Describe the bug
After doing a bridge sol.SOL > bsc.BNB, the tx activity is displayed without any record of the tx. Then, if you go to token balance is not reflected for a few minutes. So you could think that the tx didn't happen. Then you try to do it again and there is not balance (this was my case as I bridge all SOL I had). After a while you find that the balance is updated and the tx activity is there.
I think this is a very bad user experience and could lead into duplicated bridges.
I tried to do it again but this time all happened normally.
Adding a video with the issue in 13.11.0
https://www.loom.com/share/476b1a75191f4c228b6a099ff698f1db
Expected behavior
After the tx is confirmed, the flow should be like in the video
https://www.loom.com/share/39a3ae93b661471292d6c9d31d9b1160
Steps to reproduce
- Go to swap
- Select sol.SOL > bsc.BNB
- Confirm
- It may happen that the tx is not displayed
Error messages or log output
Detection stage
During release testing
Version
13.8.0
Build type
None
Browser
Chrome
Operating system
MacOS
Severity
sev2
I would say this is either an issue with the bridge aggregator not executing the transaction on the BSC side or an issue with the activity in the EVM side as I can see the Solana transaction going through. Please let me know otherwise. Pinging @a-breslin and @alfeng6 here.
Hm, looks like bridge transaction went through on your video in a matter of few seconds and activity list reflected this. Is the main issue then balances not being updated?
reproduced in 13.11.0
Hm, looks like bridge transaction went through on your video in a matter of few seconds and activity list reflected this. Is the main issue then balances not being updated?
@SteP-n-s the video show how is the good flow. The wrong flow is explained in the description. I wasn't able to reproduced again.
This is the error https://www.loom.com/share/476b1a75191f4c228b6a099ff698f1db (I have added it in description too)
After another testing session:
- The balance is not updated after more than half an hour
- When I logged out and in again, the balance get updated, the activity too
- After log out an in again, it seems to display the activity and balance immediately for the next bridge I did
- yes, the TX when through (checked both legs)
I reckon there is a connectivity issue with the snap that gets fixed once I logged out and in again. It be nice to know if there is any type of logs that could help detect this potential disconnection cc: @aganglada
Thanks @racitores for testing!
This is a very weird one. Esp since it looks like the solana balance never updated. I agree that this seems like a snap connectivity or api issue since we should be updating balances frequently.
We've recently rolled out WS, it might be worth one more test around this. But not confident this will entirely fix the issue.