scrtlabs / EthereumBridgeFrontend

Frontend for the Ethereum<>Secret Network bridge
Other
9 stars 22 forks source link

Earn: staked balance hangs on "Fetching Balance..." forever for 6 assets #229

Closed AronVanAmmers closed 3 years ago

AronVanAmmers commented 3 years ago

On the Earn page, for 6 specific assets (DAI, WBTC, LINK, OCEAN, RSR, THORChain), the staked balance shows "Fetching Balance..." forever. The button View Balance / Available Rewards never appears, hence the user can never create a viewing key, can't see their staked tokens, and can't withdraw them.

Expected situation, e.g. USDT, button View Balance / Available Rewards is visible:

2021-08-17 12_04_14-𝕊ecret Bridge - Brave

Actual situation for DAI, WBTC, LINK, OCEAN, RSR, THORChain:

2021-08-17 12_04_25-𝕊ecret Bridge - Brave

Reproduced on latest Brave / Windows, Brave / Linux, Chrome / Linux, all with latest Keplr Wallet (0.8.13). On each, this happens with the same 6 assets.

Tested with a freshly generated seed / address on Keplr Wallet, and freshly installed Keplr Wallet, i.e. this is not caused by previous state of the Keplr extension / SCRT account / browser / OS.

AronVanAmmers commented 3 years ago

Full page screenshot, showing how the button View Balance / Available Rewards correctly appears for most assets, but for DAI, WBTC, LINK, OCEAN, RSR, THORChain remains at "Fetching Balance..."

image

AronVanAmmers commented 3 years ago

Tested with an older version of Keplr Wallet (v0.8.6, from 21 April 2021). No changes. So likely not related to any recent changes in Keplr.

Cashmaney commented 3 years ago

Fixed, thanks for reporting @AronVanAmmers!

AronVanAmmers commented 3 years ago

Thanks! Confirmed working on my end.