Function test_parachain_undying::execute
source · pub fn execute(
parent_hash: [u8; 32],
parent_head: HeadData,
block_data: BlockData,
) -> Result<(HeadData, GraveyardState), StateMismatch>
Expand description
Execute a block body on top of given parent head, producing new parent head and new state if valid.