Skip to content

Commit 4451c65

Browse files
author
Roman
committed
wait 2 epoch + 1 block to guaranty
1 parent 1b9b29d commit 4451c65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/e2e_tests/test_commit_weights.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ async def test_commit_weights_uses_next_nonce(local_chain, subtensor, alice_wall
268268
assert success is True
269269

270270
# Wait a few blocks
271-
await asyncio.sleep(10) # Wait for the txs to be included in the chain
271+
# await asyncio.sleep(10) # Wait for the txs to be included in the chain
272+
subtensor.wait_for_block(subtensor.block + 20 + 1)
273+
272274

273275
# Query the WeightCommits storage map for all three salts
274276
weight_commits = subtensor.query_module(

0 commit comments

Comments
 (0)