pub fn test_header_with_root<H: HeaderT>(
number: H::Number,
state_root: H::Hash,
) -> HExpand description
Get a header for testing with given state_root.
The correct parent hash will be used if given a non-zero header.
pub fn test_header_with_root<H: HeaderT>(
number: H::Number,
state_root: H::Hash,
) -> HGet a header for testing with given state_root.
The correct parent hash will be used if given a non-zero header.