Feat: Ask Amount for Each Subnet When Staking to Multiple#771
Feat: Ask Amount for Each Subnet When Staking to Multiple#771Mobile-Crest wants to merge 18 commits intoopentensor:stagingfrom
Conversation
|
@thewhaleking |
|
@Mobile-Crest Some e2e coverage will be good for this. Maybe add this behaviour in the current add_stake test we have |
|
thewhaleking
left a comment
There was a problem hiding this comment.
This is very silly to have --amount AND --amounts that do nearly-identical-but-different things. Look at how similar items are done throughout this file.
we already have --netuid and --netuids, |
In |
then should I make amount an alias of amounts arg? |
Ask Amount for Each Subnet When Staking to Multiple
Summary
Implements per-subnet amount prompting when staking to multiple netuids, improving user control and transparency over stake distribution.
Changes
CLI (
bittensor_cli/cli.py)--netuids 1,2,3), the CLI now prompts for an amount for each subnet individuallyStake Add Function (
src/commands/stake/add.py)amount: Union[float, list[float]]Example Usage
Before:
After:
Contribution by Gittensor, learn more at https://gittensor.io/