From 09324155d18bf31e565ca455aa327094bdbb6e86 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 11 Apr 2025 10:57:23 -0700 Subject: [PATCH] sometimes it's still flaky because the chain returns data with time offset --- tests/e2e_tests/test_commit_reveal_v3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e_tests/test_commit_reveal_v3.py b/tests/e2e_tests/test_commit_reveal_v3.py index 284dd4f192..460c943ad1 100644 --- a/tests/e2e_tests/test_commit_reveal_v3.py +++ b/tests/e2e_tests/test_commit_reveal_v3.py @@ -177,8 +177,8 @@ async def test_commit_and_reveal_weights_cr3(local_chain, subtensor, alice_walle f"Latest drand round after waiting for tempo: {latest_drand_round}" ) - # for fast-block 3 seconds (drand round period) is 12 fast blocks. Let's make sure this round passed. - subtensor.wait_for_block(subtensor.block + 12) + # for fast-block 6 seconds (drand round period) is 12 fast blocks. Let's make sure this round passed. + subtensor.wait_for_block(subtensor.block + 24) # Fetch weights on the chain as they should be revealed now revealed_weights_ = subtensor.weights(netuid=netuid)