mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11: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
@@ -459,6 +459,7 @@ mod tests {
|
||||
collator: Default::default(),
|
||||
signature: Default::default(),
|
||||
head_data: Default::default(),
|
||||
parent_head: Default::default(),
|
||||
egress_queue_roots: Vec::new(),
|
||||
fees: 0,
|
||||
block_data_hash: block_data_1.hash(),
|
||||
@@ -471,6 +472,7 @@ mod tests {
|
||||
collator: Default::default(),
|
||||
signature: Default::default(),
|
||||
head_data: Default::default(),
|
||||
parent_head: Default::default(),
|
||||
egress_queue_roots: Vec::new(),
|
||||
fees: 0,
|
||||
block_data_hash: block_data_2.hash(),
|
||||
@@ -575,6 +577,7 @@ mod tests {
|
||||
collator: Default::default(),
|
||||
signature: Default::default(),
|
||||
head_data: Default::default(),
|
||||
parent_head: Default::default(),
|
||||
egress_queue_roots: Vec::new(),
|
||||
fees: 0,
|
||||
block_data_hash: block_data.hash(),
|
||||
|
||||
Reference in New Issue
Block a user