bump ethers, remove upraises from callbacks (#664)
This commit is contained in:
parent
fffb674bba
commit
b186afbc4f
|
@ -12,7 +12,7 @@ requires "bearssl >= 0.1.4"
|
||||||
requires "chronicles >= 0.7.2"
|
requires "chronicles >= 0.7.2"
|
||||||
requires "chronos >= 2.5.2"
|
requires "chronos >= 2.5.2"
|
||||||
requires "confutils"
|
requires "confutils"
|
||||||
requires "ethers >= 0.7.0 & < 0.8.0"
|
requires "ethers >= 0.7.1 & < 0.8.0"
|
||||||
requires "libbacktrace"
|
requires "libbacktrace"
|
||||||
requires "libp2p"
|
requires "libp2p"
|
||||||
requires "metrics"
|
requires "metrics"
|
||||||
|
|
|
@ -26,7 +26,7 @@ method start*(clock: OnChainClock) {.async.} =
|
||||||
if clock.started:
|
if clock.started:
|
||||||
return
|
return
|
||||||
|
|
||||||
proc onBlock(blck: Block) {.upraises:[].} =
|
proc onBlock(blck: Block) =
|
||||||
let blockTime = initTime(blck.timestamp.truncate(int64), 0)
|
let blockTime = initTime(blck.timestamp.truncate(int64), 0)
|
||||||
let computerTime = getTime()
|
let computerTime = getTime()
|
||||||
clock.offset = blockTime - computerTime
|
clock.offset = blockTime - computerTime
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2428b756d6fdee15017e76ec6077e890ebfd7bf6
|
Subproject commit fd16d71ea58e8d3e5a7f41e5dfdaa3a9b693a815
|
Loading…
Reference in New Issue