From c97f973410a2d98e1ac0ca02c445b813e602bf8f Mon Sep 17 00:00:00 2001 From: Ben Bierens <39762930+benbierens@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:51:17 +0100 Subject: [PATCH] Adds two traces and bumps nim-ethers (#761) --- codex/codex.nim | 2 ++ vendor/nim-ethers | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codex/codex.nim b/codex/codex.nim index 48027519..d8edc38e 100644 --- a/codex/codex.nim +++ b/codex/codex.nim @@ -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.} = diff --git a/vendor/nim-ethers b/vendor/nim-ethers index 43cef2f7..5b170adc 160000 --- a/vendor/nim-ethers +++ b/vendor/nim-ethers @@ -1 +1 @@ -Subproject commit 43cef2f7caae3e81dad2b4d9084f4b7c1f3e0c21 +Subproject commit 5b170adcb1ffb1dbb273d1b7679bf3d9a08adb76