[][src]Macro frame_support::impl_outer_inherent

macro_rules! impl_outer_inherent {
    (
		impl Inherents where Block = $block:ident, UncheckedExtrinsic = $uncheckedextrinsic:ident
		{
			$( $module:ident: $call:ident, )*
		}
	) => { ... };
}

Implement the outer inherent. All given modules need to implement ProvideInherent.

Example

impl_outer_inherent! {
    impl Inherents where Block = Block, UncheckedExtrinsic = UncheckedExtrinsic {
        timestamp: Timestamp,
        consensus: Consensus,
        /// Aura module using the `Timestamp` call.
        aura: Timestamp,
    }
}