Type Definition sp_runtime::testing::HeaderVer

source ·
pub type HeaderVer = HeaderVer<u64, BlakeTwo256>;
Expand description

Block Header

Implementations§

source§

impl HeaderVer

source

pub fn new_from_number(number: <Self as Header>::Number) -> Self

A new header with the given number and default hash for all other fields.