Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Log para inherent inputs #4331

Merged
merged 1 commit into from
Nov 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions runtime/parachains/src/paras_inherent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down Expand Up @@ -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() {
Expand Down