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
2021-01-11 20:29:04 +01:00
committed by GitHub
parent aedf089691
commit 6c3c7d54b0
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -254,6 +254,8 @@ pub struct ValidationParams {
pub block_data: BlockData,
/// The current relay-chain block number.
pub relay_chain_height: RelayChainBlockNumber,
/// The relay-chain block's storage root.
pub relay_storage_root: Hash,
/// The MQC head for the DMQ.
///
/// The DMQ MQC head will be used by the validation function to authorize the downward messages