You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError('options invalid: should intervalMsMin <= batchBlocksCount * blockIntervalMs when no toBlock present, otherwise crosscheck will never catch up with the latest')
thrownewError('options invalid: should pollingInterval <= batchBlocksCount * blockInterval when no toBlock present, otherwise crosscheck will never catch up with the latest')
43
43
}
44
44
}
45
45
}
@@ -56,8 +56,8 @@ export class AutoCrossChecker extends BaseCrossChecker {
56
56
const{
57
57
fromBlock =latestblocknum,
58
58
batchBlocksCount =10,
59
-
intervalMsMin=1000,
60
-
blockIntervalMs=ETH_BLOCK_INTERVAL_MS,
59
+
pollingInterval=1000,
60
+
blockInterval=ETH_BLOCK_INTERVAL,
61
61
delayBlockFromLatest =1,
62
62
toBlock, ignoreLogs,
63
63
}=options
@@ -95,8 +95,8 @@ export class AutoCrossChecker extends BaseCrossChecker {
this.logger.debug('sleep until the latestblocknum >= toBlock + delayBlockFromLatest, i.e.',(ccrOptions.toBlock+delayBlockFromLatest-latestblocknum)*blockIntervalMs,'ms')
this.logger.debug('sleep until the latestblocknum >= toBlock + delayBlockFromLatest, i.e.',(ccrOptions.toBlock+delayBlockFromLatest-latestblocknum)*blockInterval,'ms')
0 commit comments