Skip to content

Commit daf0908

Browse files
tests: wait cooldown period when clearing child keys
1 parent 438f2b3 commit daf0908

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/e2e_tests/test_hotkeys.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ async def test_children(subtensor, alice_wallet, bob_wallet):
151151
assert error == ""
152152
assert success is True
153153

154+
subtensor.wait_for_block(subtensor.block + SET_CHILDREN_COOLDOWN_PERIOD)
155+
154156
await wait_epoch(subtensor, netuid=1)
155157

156158
success, children, error = subtensor.get_children(

0 commit comments

Comments
 (0)