shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
169 stars 179 forks source link

Different Assets displaying an incorrect amount staked in Native and KeepKey wallets #1645

Closed MBMaria closed 2 years ago

MBMaria commented 2 years ago

Overview

Certain assets from the dashboard in either KeepKey or Native wallet are displaying a staked amount incorrectly. The assets are showing a staked amount to the same value as the current balance in the wallet that is staked for ATOM. So far the list of assets identified with the unusual staking balance are: BTC, USD, USDT, CRO, FUN, ICHI, OHM, MARK, COW, UST, CEL, SRM and GALA. Even if there is an amount staked for one of these assets, the asset page shows the amount staked to the value of ATOM staked opposed to the correct value. If the asset does not have any balance, in the wallet, or already staked, it is showing there is a value staked regardless. Metamask and Portis are not displaying this issue which means it looks like it is only affecting the wallets that currently support Cosmos.

References and additional details

1) Open app.shapeshift.com and connect to either Native or KK wallet. 2) Select one of these assets from the Dashboard (or asset list) BTC, USD, USDT, CRO, FUN, ICHI, OHM, MARK, COW, UST, CEL, SRM and GALA and notice an amount staked. 3) Select the Defi page and notice the amount staked in the wallet for ATOM. 4) Return to the original asset selected and notice if the amount staked is the same as the amount of ATOM staked. 5) Select BTC and notice the amount staked shows as the same amount of ATOM but with two additional decimal points.

image

image image image

Acceptance Criteria

Assets should display correct staking amount.

Need By Date

No response

Screenshots/Mockups

No response

Ownership

Estimated effort

No response

Sponsor / Stakeholder

No response

Bounty Hunters

gomesalexandre commented 2 years ago

The wrong balance is fixed but now we don't show any staked amount at all except for ATOM. On it.