Unverified Commit 1ec4819c authored by Zeke Mostov's avatar Zeke Mostov Committed by GitHub
Browse files

Log para inherent inputs (#4331)

parent d488955d
Pipeline #167018 passed with stages
in 46 minutes and 58 seconds
......@@ -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 = <frame_system::Pallet<T>>::parent_hash();
ensure!(
......@@ -516,6 +524,14 @@ impl<T: Config> Pallet<T> {
},
};
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 = <frame_system::Pallet<T>>::parent_hash();
if parent_hash != parent_header.hash() {
......
Markdown is supported
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