diff --git a/beacon_chain/trusted_node_sync.nim b/beacon_chain/trusted_node_sync.nim index cb8c9fed98..c670c5b710 100644 --- a/beacon_chain/trusted_node_sync.nim +++ b/beacon_chain/trusted_node_sync.nim @@ -15,15 +15,14 @@ import ./spec/eth2_apis/rest_beacon_client, ./spec/[beaconstate, eth2_merkleization, forks, light_client_sync, network, presets, - state_transition, deposit_snapshots], - "."/[beacon_chain_db, era_db] + state_transition, deposit_snapshots] from presto import RestDecodingError from "."/beacon_clock import BeaconClock, fromFloatSeconds, getBeaconTimeFn, init const - largeRequestsTimeout = 120.seconds # Downloading large items such as states. + largeRequestsTimeout = 3.minutes # Downloading large items such as states. smallRequestsTimeout = 30.seconds # Downloading smaller items such as blocks and deposit snapshots. proc fetchDepositSnapshot(