Skip to content

Commit 63c92d3

Browse files
authored
Merge branch 'staging' into fix/2472-offline_unittests
2 parents 134a7b5 + 348ac99 commit 63c92d3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/e2e_tests/test_commit_weights.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ async def test_commit_weights_uses_next_nonce(local_chain, subtensor, alice_wall
167167
Raises:
168168
AssertionError: If any of the checks or verifications fail
169169
"""
170+
# Wait for 2 tempos to pass as CR3 only reveals weights after 2 tempos
171+
subtensor.wait_for_block(20)
172+
170173
netuid = 2
171174
print("Testing test_commit_and_reveal_weights")
172175
# Register root as Alice

tests/e2e_tests/test_incentive.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
2323
AssertionError: If any of the checks or verifications fail
2424
"""
2525

26+
# Wait for 2 tempos to spin up chain properly
27+
subtensor.wait_for_block(20)
28+
2629
print("Testing test_incentive")
2730
netuid = 2
2831

0 commit comments

Comments
 (0)