Pass relay_storage_root into ValidationParams (#2245)

Prior this commit, a PVF wasn't able to access this property.
This commit is contained in:
Sergei Shulepov authored and GitHub committed 2021-01-11 20:29:04 +01:00
1 parent aedf089691
commit 6c3c7d54b0
5 files changed
+10

No files matched your search

@@ -439,6 +439,7 @@ fn validate_candidate_exhaustive<B: ValidationBackend, S: SpawnNamed + 'static>(
parent_head: persisted_validation_data.parent_head.clone(),
block_data: pov.block_data.clone(),
relay_chain_height: persisted_validation_data.block_number,
relay_storage_root: persisted_validation_data.relay_storage_root,
dmq_mqc_head: persisted_validation_data.dmq_mqc_head,
hrmp_mqc_heads: persisted_validation_data.hrmp_mqc_heads.clone(),
};