bump nim-ethers, fix tests

This commit is contained in:
Eric Mastro 2022-09-20 12:10:42 +10:00
parent b64ff4d32a
commit e36957faa3
No known key found for this signature in database
GPG Key ID: 141E3048D95A4E63
2 changed files with 3 additions and 2 deletions

View File

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

2
vendor/nim-ethers vendored

@ -1 +1 @@
Subproject commit c17d294274ac72aec55c2c9001e8720d8a6be822
Subproject commit a4787aaf0a6635035cc19246e3dc063f661a48cb