Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
1ec4819c
Unverified
Commit
1ec4819c
authored
Nov 19, 2021
by
Zeke Mostov
Committed by
GitHub
Nov 19, 2021
Browse files
Log para inherent inputs (#4331)
parent
d488955d
Pipeline
#167018
passed with stages
in 46 minutes and 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
runtime/parachains/src/paras_inherent.rs
View file @
1ec4819c
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment