File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -7239,15 +7239,15 @@ def stake_set_claim_type(
72397239 [bold]Claim Types:[/bold]
72407240 • [green]Swap[/green]: Future Root Alpha Emissions are swapped to TAO and added to root stake (default)
72417241 • [yellow]Keep[/yellow]: Future Root Alpha Emissions are kept as Alpha tokens
7242- • [cyan]Keep Specific[/cyan]: Keep specific subnets as Alpha, swap others to TAO
7242+ • [cyan]Keep Specific[/cyan]: Keep specific subnets as Alpha, swap others to TAO. You can use this type by selecting the netuids.
72437243
72447244 USAGE:
72457245
7246- [green]$[/green] btcli stake claim
7247- [green]$[/green] btcli stake claim keep
7248- [green]$[/green] btcli stake claim swap
7249- [green]$[/green] btcli stake claim keep --netuids 1-5,10,20-30
7250- [green]$[/green] btcli stake claim swap --netuids 1-30
7246+ [green]$[/green] btcli stake claim [cyan](Full wizard)[/cyan]
7247+ [green]$[/green] btcli stake claim keep [cyan](Keep all subnets)[/cyan]
7248+ [green]$[/green] btcli stake claim swap [cyan](Swap all subnets)[/cyan]
7249+ [green]$[/green] btcli stake claim keep --netuids 1-5,10,20-30 [cyan](Keep specific subnets)[/cyan]
7250+ [green]$[/green] btcli stake claim swap --netuids 1-30 [cyan](Swap specific subnets)[/cyan]
72517251
72527252 With specific wallet:
72537253
Original file line number Diff line number Diff line change @@ -148,9 +148,8 @@ async def set_claim_type(
148148 new_claim_info = {"type" : claim_type }
149149
150150 if _claim_types_equal (current_claim_info , new_claim_info ):
151- console .print (
152- f"Claim type already set to { _format_claim_type_display (new_claim_info )} . No change needed."
153- )
151+ msg = f"Claim type already set to { _format_claim_type_display (new_claim_info )} . \n No change needed."
152+ console .print (msg )
154153 if json_output :
155154 json_console .print (
156155 json .dumps (
@@ -540,7 +539,9 @@ async def _ask_for_claim_types(
540539 if primary_choice == "cancel" :
541540 return None
542541
543- apply_to_all = Confirm .ask ("\n Apply to ALL subnets?" , default = True )
542+ apply_to_all = Confirm .ask (
543+ f"\n Set { primary_choice .capitalize ()} to ALL subnets?" , default = True
544+ )
544545
545546 if apply_to_all :
546547 return {"type" : primary_choice .capitalize ()}
You can’t perform that action at this time.
0 commit comments