Skip to content

Commit fdf0ad1

Browse files
committed
Updates the previously not-root-only hyperparams to root sudo only
1 parent be50955 commit fdf0ad1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bittensor_cli/src/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,10 +631,10 @@ class WalletValidationTypes(Enum):
631631
"min_allowed_weights": ("sudo_set_min_allowed_weights", False),
632632
"max_weights_limit": ("sudo_set_max_weight_limit", False),
633633
"tempo": ("sudo_set_tempo", True),
634-
"min_difficulty": ("sudo_set_min_difficulty", False),
634+
"min_difficulty": ("sudo_set_min_difficulty", True),
635635
"max_difficulty": ("sudo_set_max_difficulty", False),
636636
"weights_version": ("sudo_set_weights_version_key", False),
637-
"weights_rate_limit": ("sudo_set_weights_set_rate_limit", False),
637+
"weights_rate_limit": ("sudo_set_weights_set_rate_limit", True),
638638
"adjustment_interval": ("sudo_set_adjustment_interval", True),
639639
"activity_cutoff": ("sudo_set_activity_cutoff", False),
640640
"target_regs_per_interval": ("sudo_set_target_registrations_per_interval", True),
@@ -645,15 +645,15 @@ class WalletValidationTypes(Enum):
645645
"serving_rate_limit": ("sudo_set_serving_rate_limit", False),
646646
"max_validators": ("sudo_set_max_allowed_validators", True),
647647
"adjustment_alpha": ("sudo_set_adjustment_alpha", False),
648-
"difficulty": ("sudo_set_difficulty", False),
648+
"difficulty": ("sudo_set_difficulty", True),
649649
"commit_reveal_period": (
650650
"sudo_set_commit_reveal_weights_interval",
651651
False,
652652
),
653653
"commit_reveal_weights_enabled": ("sudo_set_commit_reveal_weights_enabled", False),
654654
"alpha_values": ("sudo_set_alpha_values", False),
655655
"liquid_alpha_enabled": ("sudo_set_liquid_alpha_enabled", False),
656-
"registration_allowed": ("sudo_set_network_registration_allowed", False),
656+
"registration_allowed": ("sudo_set_network_registration_allowed", True),
657657
"network_pow_registration_allowed": (
658658
"sudo_set_network_pow_registration_allowed",
659659
False,

0 commit comments

Comments
 (0)