mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Put parachain head hash into CandidateDescriptor (#2310)
* Put parachain head hash into `CandidateDescriptor` * Update guide * Add some checks
This commit is contained in:
@@ -333,6 +333,7 @@ async fn handle_new_activations<Context: SubsystemContext>(
|
||||
persisted_validation_data_hash,
|
||||
pov_hash,
|
||||
erasure_root,
|
||||
para_head: commitments.head_data.hash(),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -738,6 +739,7 @@ mod tests {
|
||||
persisted_validation_data_hash: expect_validation_data_hash,
|
||||
pov_hash: expect_pov_hash,
|
||||
erasure_root: Default::default(), // this isn't something we're checking right now
|
||||
para_head: test_collation().head_data.hash(),
|
||||
};
|
||||
|
||||
assert_eq!(sent_messages.len(), 1);
|
||||
|
||||
Reference in New Issue
Block a user