-
Notifications
You must be signed in to change notification settings - Fork 86
Description
It would be great to make staking UI a bit smarter about the following scenario. It's based on the actual user issue on Gnosis the other day.
Delegator tries to withdraw stake from the node, tx executes but reverts. Browser does not show anything useful for the delegator, similarly gnosis explorer does not show actual error description, just generic "reverted".
The actual reason for a revert - Must claim the previous epoch rewards before changing stake". But delegator does not see this description anywhere.
Would be great to make staking page check that and notify user explicitly that they need to Claim rewards first. In this case user had to claim just a fraction of a TRAC, it showed as "Claim 0.00 TRAC". So it's easy to see why delegator did not click Claim button.