Type Alias frame_system::mocking::MockBlockU128

source ·
pub type MockBlockU128<T> = Block<Header<u128, BlakeTwo256>, MockUncheckedExtrinsic<T>>;
Expand description

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

Aliased Type§

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

Fields§

§header: Header<u128, BlakeTwo256>

The block header.

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

The accompanying extrinsics.