You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bittensor_cli/src/commands/sudo.py
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -525,7 +525,8 @@ async def set_take_extrinsic(
525
525
526
526
ifcurrent_take_u16<take_u16:
527
527
console.print(
528
-
f"Current take is [{COLOR_PALETTE['POOLS']['RATE']}]{current_take*100.:.2f}%[/{COLOR_PALETTE['POOLS']['RATE']}]. Increasing to [{COLOR_PALETTE['POOLS']['RATE']}]{take*100:.2f}%."
528
+
f"Current take is [{COLOR_PALETTE.P.RATE}]{current_take*100.0:.2f}%[/{COLOR_PALETTE.P.RATE}]. "
529
+
f"Increasing to [{COLOR_PALETTE.P.RATE}]{take*100:.2f}%."
529
530
)
530
531
withconsole.status(
531
532
f":satellite: Sending decrease_take_extrinsic call on [white]{subtensor}[/white] ..."
@@ -542,7 +543,8 @@ async def set_take_extrinsic(
542
543
543
544
else:
544
545
console.print(
545
-
f"Current take is [{COLOR_PALETTE['POOLS']['RATE']}]{current_take*100.:.2f}%[/{COLOR_PALETTE['POOLS']['RATE']}]. Decreasing to [{COLOR_PALETTE['POOLS']['RATE']}]{take*100:.2f}%."
546
+
f"Current take is [{COLOR_PALETTE.P.RATE}]{current_take*100.0:.2f}%[/{COLOR_PALETTE.P.RATE}]. "
547
+
f"Decreasing to [{COLOR_PALETTE.P.RATE}]{take*100:.2f}%."
546
548
)
547
549
withconsole.status(
548
550
f":satellite: Sending increase_take_extrinsic call on [white]{subtensor}[/white] ..."
f"Hotkey [{COLOR_PALETTE['GENERAL']['HOTKEY']}]{wallet.hotkey.ss58_address}[/{COLOR_PALETTE['GENERAL']['HOTKEY']}] is not registered to any subnet. Please register using [{COLOR_PALETTE['GENERAL']['SUBHEADING']}]`btcli subnets register`[{COLOR_PALETTE['GENERAL']['SUBHEADING']}] and try again."
896
+
f"Hotkey [{COLOR_PALETTE.G.HK}]{wallet.hotkey.ss58_address}[/{COLOR_PALETTE.G.HK}] is not registered to"
897
+
f" any subnet. Please register using [{COLOR_PALETTE.G.SUBHEAD}]`btcli subnets register`"
0 commit comments