bump nim-ethers, fix tests
# Conflicts: # vendor/nim-ethers
This commit is contained in:
parent
dab65eb6bd
commit
10d4dcd70d
|
@ -1,4 +1,5 @@
|
|||
import pkg/ethers
|
||||
import pkg/ethers/testing
|
||||
import ../storageproofs/timing/proofs
|
||||
import ./storage
|
||||
|
||||
|
@ -35,7 +36,7 @@ method willProofBeRequired*(proofs: OnChainProofs,
|
|||
id: SlotId): Future[bool] {.async.} =
|
||||
try:
|
||||
return await proofs.storage.willProofBeRequired(id)
|
||||
except JsonRpcProviderError:
|
||||
except JsonRpcProviderError as e:
|
||||
if e.revertReason == "Slot empty":
|
||||
return false
|
||||
raise e
|
||||
|
|
Loading…
Reference in New Issue