Skip to content

Commit ccb8f9b

Browse files
author
Roman
committed
try to fix set weights
1 parent ec5aec1 commit ccb8f9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/e2e_tests/test_set_weights.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ async def test_set_weights_uses_next_nonce(local_chain, subtensor, alice_wallet)
137137
assert success is True, message
138138
logging.console.success(f"Set weights for subnet {netuid}")
139139

140+
subtensor.wait_for_block(subtensor.block + 1)
141+
140142
for netuid in netuids:
141143
# Query the Weights storage map for all three subnets
142144
query = subtensor.query_module(

0 commit comments

Comments
 (0)