diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index 7fc4fbde8..5fcaa9785 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -979,7 +979,7 @@ def __init__(self): "emissions", rich_help_panel=HELP_PANELS["MECHANISMS"]["EMISSION"] )(self.mechanism_emission_get) self.subnet_mechanisms_app.command( - "emissions-split", rich_help_panel=HELP_PANELS["MECHANISMS"]["EMISSION"] + "split-emissions", rich_help_panel=HELP_PANELS["MECHANISMS"]["EMISSION"] )(self.mechanism_emission_set) # sudo commands @@ -1113,6 +1113,9 @@ def __init__(self): self.subnets_app.command("set_identity", hidden=True)(self.subnets_set_identity) self.subnets_app.command("get_identity", hidden=True)(self.subnets_get_identity) self.subnets_app.command("check_start", hidden=True)(self.subnets_check_start) + self.subnet_mechanisms_app.command("emissions-split", hidden=True)( + self.mechanism_emission_set + ) # Sudo self.sudo_app.command("senate_vote", hidden=True)(self.sudo_senate_vote) diff --git a/bittensor_cli/src/commands/subnets/mechanisms.py b/bittensor_cli/src/commands/subnets/mechanisms.py index bf329513a..2ad5d72db 100644 --- a/bittensor_cli/src/commands/subnets/mechanisms.py +++ b/bittensor_cli/src/commands/subnets/mechanisms.py @@ -247,9 +247,9 @@ async def set_emission_split( (current_value / total_existing) * 100 if total_existing else 0 ) label = ( - "[blue]Main Mechanism (1)[/blue]" + "[blue]Main Mechanism (0)[/blue]" if idx == 0 - else f"[blue]Mechanism {idx + 1}[/blue]" + else f"[blue]Mechanism {idx}[/blue]" ) response = Prompt.ask( (