diff --git a/codex.nimble b/codex.nimble index df89e043..9fc3bf43 100644 --- a/codex.nimble +++ b/codex.nimble @@ -12,7 +12,7 @@ requires "bearssl >= 0.1.4" requires "chronicles >= 0.7.2" requires "chronos >= 2.5.2" requires "confutils" -requires "ethers >= 0.7.0 & < 0.8.0" +requires "ethers >= 0.7.1 & < 0.8.0" requires "libbacktrace" requires "libp2p" requires "metrics" diff --git a/codex/contracts/clock.nim b/codex/contracts/clock.nim index d5f2f4ee..9102e5c2 100644 --- a/codex/contracts/clock.nim +++ b/codex/contracts/clock.nim @@ -26,7 +26,7 @@ method start*(clock: OnChainClock) {.async.} = if clock.started: return - proc onBlock(blck: Block) {.upraises:[].} = + proc onBlock(blck: Block) = let blockTime = initTime(blck.timestamp.truncate(int64), 0) let computerTime = getTime() clock.offset = blockTime - computerTime diff --git a/vendor/nim-ethers b/vendor/nim-ethers index 2428b756..fd16d71e 160000 --- a/vendor/nim-ethers +++ b/vendor/nim-ethers @@ -1 +1 @@ -Subproject commit 2428b756d6fdee15017e76ec6077e890ebfd7bf6 +Subproject commit fd16d71ea58e8d3e5a7f41e5dfdaa3a9b693a815