Increase the web3 timeouts
This commit is contained in:
parent
372c9b798c
commit
594ef713a0
|
@ -30,7 +30,7 @@ contract(DepositContract):
|
||||||
# Exceptions being reported from Chronos's asyncfutures2.
|
# Exceptions being reported from Chronos's asyncfutures2.
|
||||||
|
|
||||||
const
|
const
|
||||||
web3Timeouts = 5.seconds
|
web3Timeouts = 60.seconds
|
||||||
hasDepositRootChecks = true # defined(has_deposit_root_checks)
|
hasDepositRootChecks = true # defined(has_deposit_root_checks)
|
||||||
hasGenesisDetection* = defined(has_genesis_detection)
|
hasGenesisDetection* = defined(has_genesis_detection)
|
||||||
|
|
||||||
|
@ -290,7 +290,7 @@ when hasDepositRootChecks:
|
||||||
DepositCountUnavailable
|
DepositCountUnavailable
|
||||||
|
|
||||||
const
|
const
|
||||||
contractCallTimeout = seconds(10)
|
contractCallTimeout = seconds(60)
|
||||||
|
|
||||||
template awaitOrRaiseOnTimeout[T](fut: Future[T],
|
template awaitOrRaiseOnTimeout[T](fut: Future[T],
|
||||||
timeout: Duration): T =
|
timeout: Duration): T =
|
||||||
|
|
Loading…
Reference in New Issue