referrerpolicy=no-referrer-when-downgrade

Type Alias substrate_test_runtime::Header

source ·
pub type Header = Header<BlockNumber, Hashing>;
Expand description

A test block’s header.

Aliased Type§

struct Header {
    pub parent_hash: H256,
    pub number: u64,
    pub state_root: H256,
    pub extrinsics_root: H256,
    pub digest: Digest,
}

Fields§

§parent_hash: H256

The parent hash.

§number: u64

The block number.

§state_root: H256

The state trie merkle root

§extrinsics_root: H256

The merkle root of the extrinsics.

§digest: Digest

A chain-specific digest of data useful for light clients or referencing auxiliary data.