From 594ef713a0548831cd3e36a4ce035268272fe94e Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 24 Nov 2020 23:28:20 +0200 Subject: [PATCH] Increase the web3 timeouts --- beacon_chain/eth1_monitor.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/eth1_monitor.nim b/beacon_chain/eth1_monitor.nim index 82918d631..2d6fdaef3 100644 --- a/beacon_chain/eth1_monitor.nim +++ b/beacon_chain/eth1_monitor.nim @@ -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 =