From f2e6d3e0ea59274d70fdace24f4706bc049b70c7 Mon Sep 17 00:00:00 2001 From: emostov <32168567+emostov@users.noreply.github.com> Date: Fri, 19 Nov 2021 16:49:15 +0100 Subject: [PATCH] Log para inherent inputs --- runtime/parachains/src/paras_inherent.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/runtime/parachains/src/paras_inherent.rs b/runtime/parachains/src/paras_inherent.rs index db0ed5ec9043..274b1f4b8585 100644 --- a/runtime/parachains/src/paras_inherent.rs +++ b/runtime/parachains/src/paras_inherent.rs @@ -336,6 +336,14 @@ pub mod pallet { mut disputes, } = data; + log::debug!( + target: LOG_TARGET, + "[enter] bitfields.len(): {}, backed_candidates.len(): {}, disputes.len() {}", + signed_bitfields.len(), + backed_candidates.len(), + disputes.len() + ); + // Check that the submitted parent header indeed corresponds to the previous block hash. let parent_hash = >::parent_hash(); ensure!( @@ -516,6 +524,14 @@ impl Pallet { }, }; + log::debug!( + target: LOG_TARGET, + "[create_inherent_inner] bitfields.len(): {}, backed_candidates.len(): {}, disputes.len() {}", + bitfields.len(), + backed_candidates.len(), + disputes.len() + ); + let parent_hash = >::parent_hash(); if parent_hash != parent_header.hash() {