Skip to content

Commit 0932415

Browse files
author
Roman
committed
sometimes it's still flaky because the chain returns data with time offset
1 parent 38d3ccb commit 0932415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e_tests/test_commit_reveal_v3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ async def test_commit_and_reveal_weights_cr3(local_chain, subtensor, alice_walle
177177
f"Latest drand round after waiting for tempo: {latest_drand_round}"
178178
)
179179

180-
# for fast-block 3 seconds (drand round period) is 12 fast blocks. Let's make sure this round passed.
181-
subtensor.wait_for_block(subtensor.block + 12)
180+
# for fast-block 6 seconds (drand round period) is 12 fast blocks. Let's make sure this round passed.
181+
subtensor.wait_for_block(subtensor.block + 24)
182182

183183
# Fetch weights on the chain as they should be revealed now
184184
revealed_weights_ = subtensor.weights(netuid=netuid)

0 commit comments

Comments
 (0)