tokamak-network / simple-staking-v2

https://simple-staking-v2.vercel.app
0 stars 1 forks source link

[internal test]: Revert 'Add to Staked' Transaction When No Unclaimed Staking Rewards Available #36

Open AaronLee22 opened 8 hours ago

AaronLee22 commented 8 hours ago

Can you specify where the bug exists?

Stake

Which device are you seeing the problem on? (can select multiple)

Desktop

Which OS are you seeing the problem on? (can select multiple)

MacOS

What browsers are you seeing the problem on? (can select multiple)

Chrome

What happened?

I think it would be better if the "Add to your Staked" transaction reverts when there are no unclaimed staking rewards, rather than proceeding as it currently does.

Relevant log output

No response

Upload any screenshots to aid with explaining the bug.

O Balance on "Unclaimed Staking Reward"

Screenshot 2024-10-11 at 10 57 51 AM

Transaction Confirmed

Screenshot 2024-10-11 at 10 58 25 AM Screenshot 2024-10-11 at 10 58 50 AM