MVPWorkshop / dot-acp-ui

DOT ACP Frontend
https://app.dotacp.mvpworkshop.co/
3 stars 4 forks source link

[BUG] : user balance keeps loading after connecting wallet #365

Closed muddlebee closed 2 weeks ago

muddlebee commented 4 months ago
  1. Go to https://app.dotacp.mvpworkshop.co/swap and connect wallet
  2. Balance is not loading

image

muddlebee commented 4 months ago

it takes a few minutes to load the balance. too slow I guess.

gagi13 commented 4 months ago

Hi @muddlebee and thank you for opening this issue. The asset conversion pallet function for fetching balances works by reading metadata for each asset that exists on Asset Hub, and that is why it takes long. However, we we managed to optimize time to be around 5 seconds now - will merge it EOD. We will also try to find a different way of fetching balances so hopefully will improve this even more soon. I will let you know once this is resolved. Cheers!