@@ -3,7 +3,7 @@ use std::sync::Arc;
33use anyhow:: { Context as _, Result } ;
44use eth1_api:: { Eth1Api , Eth1ApiToMetrics , Eth1Block } ;
55use futures:: channel:: mpsc:: UnboundedSender ;
6- use log:: { info , warn} ;
6+ use log:: { debug , warn} ;
77use prometheus_metrics:: Metrics ;
88use reqwest:: Client ;
99use std_ext:: ArcExt as _;
@@ -100,7 +100,7 @@ impl DownloadManager {
100100 . await
101101 . context ( Error :: ConnectionError ) ?;
102102
103- info ! (
103+ debug ! (
104104 "downloaded {} Eth1 blocks from block {from_block} to block {to_block}" ,
105105 blocks. len( ) ,
106106 ) ;
@@ -148,7 +148,7 @@ impl DownloadManager {
148148 let mut from_block = starting_block_number + 1 ;
149149
150150 if from_block <= latest_block_number {
151- info ! (
151+ debug ! (
152152 "will download Eth1 deposits from block {} to block {}" ,
153153 from_block, latest_block_number,
154154 ) ;
@@ -157,7 +157,7 @@ impl DownloadManager {
157157 while from_block <= latest_block_number {
158158 let to_block = latest_block_number. min ( from_block + DEPOSIT_BATCH_SIZE - 1 ) ;
159159
160- info ! ( "downloading Eth1 deposits from block {from_block} to block {to_block}" ) ;
160+ debug ! ( "downloading Eth1 deposits from block {from_block} to block {to_block}" ) ;
161161
162162 let deposit_event_map = self . api . get_deposit_events ( from_block..=to_block) . await ?;
163163 let deposit_events = deposit_event_map. values ( ) . flatten ( ) . collect ( ) ;
0 commit comments