downgrade a warn log to debug (#3319)

* downgrade to debug

* another thick log

* bump spec versions in kusama, polkadot and westend again IV
This commit is contained in:
Andronik Ordian
2021-06-20 18:15:13 +02:00
committed by GitHub
parent fc7f6dbfd9
commit 20d9ed06d6
5 changed files with 9 additions and 6 deletions
@@ -319,7 +319,7 @@ pub(crate) async fn handle_new_head(
match state.session_window.cache_session_info_for_head(ctx, head, &header).await {
Err(e) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
?head,
?e,
@@ -395,8 +395,11 @@ async fn determine_our_validators(
cores: usize,
relay_parent: Hash,
) -> Result<(GroupValidators, GroupValidators)> {
let info = &runtime.get_session_info(ctx, relay_parent).await?.session_info;
tracing::debug!(target: LOG_TARGET, ?info, "Received info");
let session_index = runtime.get_session_index(ctx, relay_parent).await?;
let info = &runtime.get_session_info_by_index(ctx, relay_parent, session_index)
.await?
.session_info;
tracing::debug!(target: LOG_TARGET, ?session_index, "Received session info");
let groups = &info.validator_groups;
let rotation_info = get_group_rotation_info(ctx, relay_parent).await?;