bump nim-ethers, fix tests
This commit is contained in:
parent
b64ff4d32a
commit
e36957faa3
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c17d294274ac72aec55c2c9001e8720d8a6be822
|
||||
Subproject commit a4787aaf0a6635035cc19246e3dc063f661a48cb
|
Loading…
Reference in New Issue