opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
123 stars 126 forks source link

Unstake below min should result in full unstake #507

Open gztensor opened 1 month ago

gztensor commented 1 month ago

Because of this check, we can't go below minimum (including 0): https://github.com/opentensor/subtensor/blob/a680526f7c5cb72214b07bbea9f5491bd566aa00/pallets/subtensor/src/staking.rs#L476

gztensor commented 1 month ago

Addressing in branch feat/concurrent-stao-dtao

camfairchild commented 1 month ago

See: https://github.com/opentensor/subtensor/pull/462