mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-08-25 00:01:09 +00:00
Adds two traces and bumps nim-ethers (#761)
This commit is contained in:
@@ -62,11 +62,13 @@ type
|
||||
|
||||
proc waitForSync(provider: Provider): Future[void] {.async.} =
|
||||
var sleepTime = 1
|
||||
trace "Checking sync state of Ethereum provider..."
|
||||
while await provider.isSyncing:
|
||||
notice "Waiting for Ethereum provider to sync..."
|
||||
await sleepAsync(sleepTime.seconds)
|
||||
if sleepTime < 10:
|
||||
inc sleepTime
|
||||
trace "Ethereum provider is synced."
|
||||
|
||||
proc bootstrapInteractions(
|
||||
s: CodexServer): Future[void] {.async.} =
|
||||
|
||||
Vendored
+1
-1
Submodule vendor/nim-ethers updated: 43cef2f7ca...5b170adcb1
Reference in New Issue
Block a user