Type Definition sp_runtime::ApplyExtrinsicResult[][src]

type ApplyExtrinsicResult = Result<DispatchOutcome, TransactionValidityError>;

The result of applying of an extrinsic.

This type is typically used in the context of BlockBuilder to signal that the extrinsic in question cannot be included.

A block containing extrinsics that have a negative inclusion outcome is invalid. A negative result can only occur during the block production, where such extrinsics are detected and removed from the block that is being created and the transaction pool.

To rehash: every extrinsic in a valid block must return a positive ApplyExtrinsicResult.

Examples of reasons preventing inclusion in a block: