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§
Ok((ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin))
Contains the success value
Err(TransactionValidityError)
Contains the error value