mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
Log para inherent inputs (#4331)
This commit is contained in:
@@ -336,6 +336,14 @@ pub mod pallet {
|
|||||||
mut disputes,
|
mut disputes,
|
||||||
} = data;
|
} = 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.
|
// Check that the submitted parent header indeed corresponds to the previous block hash.
|
||||||
let parent_hash = <frame_system::Pallet<T>>::parent_hash();
|
let parent_hash = <frame_system::Pallet<T>>::parent_hash();
|
||||||
ensure!(
|
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();
|
let parent_hash = <frame_system::Pallet<T>>::parent_hash();
|
||||||
|
|
||||||
if parent_hash != parent_header.hash() {
|
if parent_hash != parent_header.hash() {
|
||||||
|
|||||||
Reference in New Issue
Block a user