Skip to content

Commit 8177df1

Browse files
authored
Merge pull request #2673 from opentensor/fix/roman/e2etest-commit-weights
fix e2e test
2 parents 47ed5cd + dba23ec commit 8177df1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-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

0 commit comments

Comments
 (0)