tokamak-network / simple-staking-v2

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

Staking is allowed when the value is 0 followed by up to 6 decimals (e.g., 0.000001), but fails for 0 followed by 7 decimals (e.g., 0.0000001). NOTE: Not necessarily a bug #27

Open NegruGeorge opened 19 hours ago

NegruGeorge commented 19 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)

Others

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

Chrome

What happened?

Staking functionality works with numbers containing a maximum of 6 decimal places after 0 (e.g., 0.000001). However, staking fails when attempting to use numbers with 7 decimal places (e.g., 0.0000001).

Maybe display a message for that, not just an error.

Screencast from 2024-10-10 18-01-57.webm

Relevant log output

No response

Upload any screenshots to aid with explaining the bug.

Upload image here