Skip to content

Commit

Permalink
use set hyp values instead
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Dec 16, 2024
1 parent e03aa1f commit e3f5c65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e_tests/test_set_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ async def test_set_weights_uses_next_nonce(local_chain):

for netuid in netuids:
# Allow registration on the subnet
assert sudo_set_hyperparameter_bool(
assert sudo_set_hyperparameter_values(
local_chain,
alice_wallet,
"sudo_set_network_registration_allowed",
True,
netuid,
{"netuid": netuid, "registration_allowed": True},
return_error_message=True,
)
# Register Alice to the subnet
assert subtensor.burned_register(
Expand Down

0 comments on commit e3f5c65

Please sign in to comment.