mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
Include parent head in CandidateReceipt (#826)
* runtime: candidate receipt must pass parent head * construct parachain candidates using correct parent_head * validate that the parent header is correct in candidate receipt * fix test fallout * bump runtime versions
This commit is contained in:
committed by
GitHub
parent
703ac8bbbc
commit
1c2aff5b4d
@@ -396,10 +396,11 @@ impl<C, N, P, SP> ParachainValidationInstances<C, N, P, SP> where
|
||||
max_block_data_size,
|
||||
).await {
|
||||
Ok(collation_work) => {
|
||||
let (collation, outgoing_targeted, fees_charged) = collation_work;
|
||||
let (collation, outgoing_targeted, parent_head, fees_charged) = collation_work;
|
||||
|
||||
match crate::collation::produce_receipt_and_chunks(
|
||||
authorities_num,
|
||||
parent_head,
|
||||
&collation.pov,
|
||||
&outgoing_targeted,
|
||||
fees_charged,
|
||||
|
||||
Reference in New Issue
Block a user