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