bump ethers, remove upraises from callbacks (#664)

This commit is contained in:
Eric 2024-01-09 15:51:34 +11:00 committed by GitHub
parent fffb674bba
commit b186afbc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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

2
vendor/nim-ethers vendored

@ -1 +1 @@
Subproject commit 2428b756d6fdee15017e76ec6077e890ebfd7bf6
Subproject commit fd16d71ea58e8d3e5a7f41e5dfdaa3a9b693a815