mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00: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,
|
||||
|
||||
Reference in New Issue
Block a user