Skip to content

Commit 60df5f4

Browse files
authored
Downgrade light client error logs (#8196)
Temporary stop gap for #7002 Downgrade light client errors to debug We eventually should fix our light client objects so they can consist of data across forks. Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
1 parent 1fb94ce commit 60df5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beacon_node/client/src/compute_light_client_updates.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use beacon_processor::work_reprocessing_queue::ReprocessQueueMessage;
33
use beacon_processor::{BeaconProcessorSend, Work, WorkEvent};
44
use futures::StreamExt;
55
use futures::channel::mpsc::Receiver;
6-
use tracing::error;
6+
use tracing::{debug, error};
77

88
// Each `LightClientProducerEvent` is ~200 bytes. With the light_client server producing only recent
99
// updates it is okay to drop some events in case of overloading. In normal network conditions
@@ -27,7 +27,7 @@ pub async fn compute_light_client_updates<T: BeaconChainTypes>(
2727
chain
2828
.recompute_and_cache_light_client_updates(event)
2929
.unwrap_or_else(|e| {
30-
error!("error computing light_client updates {:?}", e);
30+
debug!("error computing light_client updates {:?}", e);
3131
});
3232

3333
let msg = ReprocessQueueMessage::NewLightClientOptimisticUpdate { parent_root };

0 commit comments

Comments
 (0)