Increase the web3 timeouts

This commit is contained in:
Zahary Karadjov 2020-11-24 23:28:20 +02:00
parent 372c9b798c
commit 594ef713a0
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ contract(DepositContract):
# Exceptions being reported from Chronos's asyncfutures2.
const
web3Timeouts = 5.seconds
web3Timeouts = 60.seconds
hasDepositRootChecks = true # defined(has_deposit_root_checks)
hasGenesisDetection* = defined(has_genesis_detection)
@ -290,7 +290,7 @@ when hasDepositRootChecks:
DepositCountUnavailable
const
contractCallTimeout = seconds(10)
contractCallTimeout = seconds(60)
template awaitOrRaiseOnTimeout[T](fut: Future[T],
timeout: Duration): T =