Skip to content

Commit

Permalink
make interval more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
open-junius committed Nov 6, 2024
1 parent e430823 commit 5736af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e_tests/test_commit_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ async def test_commit_and_reveal_weights(local_chain):
periods = reveal_periods.value
assert periods > 0, "Invalid RevealPeriodEpochs"

# Wait until the reveal block range
await wait_interval(interval * 10 + 300, subtensor)
# Wait until the reveal block range, the default temp is 300
await wait_interval(300, subtensor)

# Reveal weights
success, message = subtensor.reveal_weights(
Expand Down

0 comments on commit 5736af9

Please sign in to comment.