bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

STAO staking shows stake balance a weebit less-than staked amount

Open rajkaramchedu opened this issue 1 year ago • 0 comments

Describe the bug

Testing STAO btcli substake command found the following behavior: I have a very large amount of test TAO in my coldkey rkstao1-coldkey. Out of this I staked 3000 into subnet 1. The terminal log shows that my staked amount is a bit less than 3000, i.e., τ3,299.999999000. It should either show full amount, or it should tell me the reason why I am seeing less amount and where and why this deduction is made. Thanks!

Enter hotkey name or ss58_address to stake to (default): rkstao1-hotkey
Stake all Tao from account: 'rkstao1-coldkey'? [y/n]: n
Enter Tao amount to stake: 3300
Bittensor Version: Current 6.9.3/Latest 6.10.1
Please update to the latest version at your earliest convenience. Run the following command to upgrade:

python -m pip install --upgrade bittensor
Do you want to stake to the following hotkey on netuid 1:
 - from   rkstao1-coldkey:5GqAHVYFacifDF3rxraXgsKQWRXx9SaDf1yfqEdDBbc5vqau
 - to     rkstao1-hotkey:5GCT8XgM4ePCUqWQbhP3s3DKfruy1XXz9RwfyzJxU1nRNThB
 - amount 3300.0 τ
 [y/n]: y
Enter password to unlock key:
✅ Finalized
Balance:
  τ2,999,999,999.666705608 ➡ τ2,999,996,699.666706562
Stake:
  τ0.000000000 ➡ τ3,299.999999000```

### To Reproduce

See above description.

### Expected behavior

Expected full 3000 TAO as my stake.

### Screenshots

_No response_

### Environment

macOS

### Additional context

_No response_

rajkaramchedu avatar Apr 15 '24 19:04 rajkaramchedu