Skip to content

Commit ec1683e

Browse files
authored
Merge pull request #2816 from opentensor/fix/roman/add-more-time-to-crv3-test
sometimes it's still flaky because the chain returns data with time offset
2 parents faca6a9 + 62f76f7 commit ec1683e

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)