Adds two traces and bumps nim-ethers (#761)

This commit is contained in:
Ben Bierens
2024-03-29 11:51:17 +00:00
committed by GitHub
parent 8378ac4dac
commit c97f973410
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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.} =