mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 01:38:04 +00:00
Take storage root from parent header (#123)
This commit is contained in:
@@ -112,7 +112,7 @@ pub fn validate_block<B: BlockT, E: ExecuteBlock<B>>(params: ValidationParams) -
|
||||
|
||||
let storage_inner = WitnessStorage::<B>::new(
|
||||
block_data.witness_data,
|
||||
block_data.witness_data_storage_root,
|
||||
parent_head.state_root().clone(),
|
||||
validation_function_params,
|
||||
)
|
||||
.expect("Witness data and storage root always match; qed");
|
||||
|
||||
Reference in New Issue
Block a user