Unverified Commit 0cc275d6 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

silence some parachain warnings (#2859)

* silence some parachain warnings

* that was actually a bug that Rob is fixing
parent 0eb7905a
Pipeline #133481 failed with stages
in 14 minutes and 31 seconds
......@@ -212,7 +212,7 @@ async fn load_all_sessions(
let session_info = match rx.await {
Ok(Ok(Some(s))) => s,
Ok(Ok(None)) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
"Session {} is missing from session-info state of block {}",
i,
......@@ -266,14 +266,14 @@ async fn cache_session_info_for_head(
let window_start = session_index.saturating_sub(APPROVAL_SESSIONS - 1);
tracing::info!(
tracing::debug!(
target: LOG_TARGET, "Loading approval window from session {}..={}",
window_start, session_index,
);
match load_all_sessions(ctx, block_hash, window_start, session_index).await {
Err(SessionsUnavailable) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
"Could not load sessions {}..={} from block {:?} in session {}",
window_start, session_index, block_hash, session_index,
......@@ -599,7 +599,7 @@ pub(crate) async fn handle_new_head(
&header,
).await
{
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
"Could not cache session info when processing head {:?}",
head,
......
......@@ -120,10 +120,18 @@ impl AvailabilityDistributionSubsystem {
};
match message {
FromOverseer::Signal(OverseerSignal::ActiveLeaves(update)) => {
log_error(
pov_requester.update_connected_validators(&mut ctx, &mut self.runtime, &update).await,
"PoVRequester::update_connected_validators"
);
let result = pov_requester.update_connected_validators(
&mut ctx,
&mut self.runtime,
&update,
).await;
if let Err(error) = result {
tracing::debug!(
target: LOG_TARGET,
?error,
"PoVRequester::update_connected_validators",
);
}
log_error(
requester.get_mut().update_fetching_heads(&mut ctx, update).await,
"Error in Requester::update_fetching_heads"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment