File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,10 @@ def wait_to_start_call(
237
237
"""Waits for a certain number of blocks before making a start call."""
238
238
if subtensor .is_fast_blocks () is False :
239
239
in_blocks = 5
240
+ bittensor .logging .console .info (
241
+ f"Waiting for [blue]{ in_blocks } [/blue] blocks before [red]start call[/red]. "
242
+ f"Current block: [blue]{ subtensor .block } [/blue]."
243
+ )
240
244
241
245
# make sure we passed start_call limit
242
246
subtensor .wait_for_block (subtensor .block + in_blocks + 1 )
@@ -260,6 +264,11 @@ async def async_wait_to_start_call(
260
264
if await subtensor .is_fast_blocks () is False :
261
265
in_blocks = 5
262
266
267
+ bittensor .logging .console .info (
268
+ f"Waiting for [blue]{ in_blocks } [/blue] blocks before [red]start call[/red]. "
269
+ f"Current block: [blue]{ subtensor .block } [/blue]."
270
+ )
271
+
263
272
# make sure we passed start_call limit
264
273
current_block = await subtensor .block
265
274
await subtensor .wait_for_block (current_block + in_blocks + 1 )
You can’t perform that action at this time.
0 commit comments