referrerpolicy=no-referrer-when-downgrade

Type Alias sp_runtime::traits::transaction_extension::ValidateResult

source ·
pub type ValidateResult<Val, Call> = Result<(ValidTransaction, Val, DispatchOriginOf<Call>), TransactionValidityError>;
Expand description

Shortcut for the result value of the validate function.

Aliased Type§

enum ValidateResult<Val, Call> {
    Ok((ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin)),
    Err(TransactionValidityError),
}

Variants§

§1.0.0

Ok((ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin))

Contains the success value

§1.0.0

Err(TransactionValidityError)

Contains the error value