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