Type Alias polkadot_sdk_frame::traits::ValidateResult
pub type ValidateResult<Val, Call> = Result<(ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin), 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