mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
silence some parachain warnings (#2859)
* silence some parachain warnings * that was actually a bug that Rob is fixing
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user