referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_sdk_frame::testing_prelude::MockBlockU32

pub type MockBlockU32<T> = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<<T as Config>::AccountId, <T as Config>::RuntimeCall, (), ()>>;
Expand description

An implementation of sp_runtime::traits::Block to be used in tests with u32 BlockNumber type.

Aliased Type§

struct MockBlockU32<T> {
    pub header: Header<u32, BlakeTwo256>,
    pub extrinsics: Vec<UncheckedExtrinsic<<T as Config>::AccountId, <T as Config>::RuntimeCall, (), ()>>,
}

Fields§

§header: Header<u32, BlakeTwo256>

The block header.

§extrinsics: Vec<UncheckedExtrinsic<<T as Config>::AccountId, <T as Config>::RuntimeCall, (), ()>>

The accompanying extrinsics.