chainapsis / keplr-wallet

The most powerful wallet for the Cosmos ecosystem and the Interchain
https://www.keplr.app
Other
775 stars 463 forks source link

Staking reward claim button does not update after claiming #404

Closed goktug7913 closed 1 year ago

goktug7913 commented 2 years ago

Description When claiming staking rewards, the button doesn't update to deactivated state with no rewards until a page refresh.

To Reproduce Steps to reproduce the behavior:

  1. Claim staking reward
  2. Complete the transaction
  3. The "Claim Reward" can be clicked again.

Expected behavior After the transaction completes, the button should be disabled and available reward should be 0.

Device details (please complete the following information):

Additional context I've encountered this on OSMO, but probably it is reproduceable on other chains.

Thunnini commented 2 years ago

This problem may occur depending on the network conditions with the node. If it's a network problem, the frontend cannot solve it. Another case is that you delegated to 9 or more validators. When sending claim rewards tx, only 8 claim rewards are given due to the max gas limit. So you may have to do multiple claim rewards.

goktug7913 commented 2 years ago

This problem may occur depending on the network conditions with the node. If it's a network problem, the frontend cannot solve it. Another case is that you delegated to 9 or more validators. When sending claim rewards tx, only 8 claim rewards are given due to the max gas limit. So you may have to do multiple claim rewards.

I've been encountering this since when I first started using Keplr, only delegating to single validator, so It might be a problem with OSMO node?