referrerpolicy=no-referrer-when-downgrade

Type Alias substrate_test_runtime::Block

source ·
pub type Block = Block<Header, Extrinsic>;
Expand description

A test block.

Aliased Type§

struct Block {
    pub header: Header<u64, BlakeTwo256>,
    pub extrinsics: Vec<UncheckedExtrinsic<CryptoBytes<32, Sr25519PublicTag>, RuntimeCall, CryptoBytes<64, (SignatureTag, Sr25519Tag)>, ((CheckNonce<Runtime>, CheckWeight<Runtime>), CheckSubstrateCall, CheckMetadataHash<Runtime>)>>,
}

Fields§

§header: Header<u64, BlakeTwo256>

The block header.

§extrinsics: Vec<UncheckedExtrinsic<CryptoBytes<32, Sr25519PublicTag>, RuntimeCall, CryptoBytes<64, (SignatureTag, Sr25519Tag)>, ((CheckNonce<Runtime>, CheckWeight<Runtime>), CheckSubstrateCall, CheckMetadataHash<Runtime>)>>

The accompanying extrinsics.