pub fn apply_extrinsic(uxt: Block::Extrinsic) -> result::Result<ApplyOutcome, ApplyError> {
		let encoded = uxt.encode();
		let encoded_len = encoded.len();
		match Self::apply_extrinsic_with_len(uxt, encoded_len, Some(encoded)) {
			Ok(internal::ApplyOutcome::Success) => Ok(ApplyOutcome::Success),
			Ok(internal::ApplyOutcome::Fail(_)) => Ok(ApplyOutcome::Fail),
			Err(internal::ApplyError::CantPay) => Err(ApplyError::CantPay),
			Err(internal::ApplyError::BadSignature(_)) => Err(ApplyError::BadSignature),
			Err(internal::ApplyError::Stale) => Err(ApplyError::Stale),
			Err(internal::ApplyError::Future) => Err(ApplyError::Future),
			Err(internal::ApplyError::FullBlock) => Err(ApplyError::FullBlock),
		}
	}
/// Apply extrinsic outside of the block execution function.
/// This doesn't attempt to validate anything regarding the block, but it builds a list of uxt
/// hashes.
Apply extrinsic outside of the block execution function.
This doesn't attempt to validate anything regarding the block, but it builds a list of uxt
hashes.
Apply extrinsic outside of the block execution function . This doesn ' t attempt to validate anything regarding the block but it builds a list of uxt hashes .
pub fn apply_extrinsic(uxt: Block::Extrinsic) -> result::Result<ApplyOutcome, ApplyError> {
		let encoded = uxt.encode();
		let encoded_len = encoded.len();
		match Self::apply_extrinsic_with_len(uxt, encoded_len, Some(encoded)) {
			Ok(internal::ApplyOutcome::Success) => Ok(ApplyOutcome::Success),
			Ok(internal::ApplyOutcome::Fail(_)) => Ok(ApplyOutcome::Fail),
			Err(internal::ApplyError::CantPay) => Err(ApplyError::CantPay),
			Err(internal::ApplyError::BadSignature(_)) => Err(ApplyError::BadSignature),
			Err(internal::ApplyError::Stale) => Err(ApplyError::Stale),
			Err(internal::ApplyError::Future) => Err(ApplyError::Future),
			Err(internal::ApplyError::FullBlock) => Err(ApplyError::FullBlock),
		}
	}
pub fn apply_extrinsic ( uxt : Block :: Extrinsic ) -> result :: Result < ApplyOutcome , ApplyError > { let encoded = uxt . encode ( ) ; let encoded_len = encoded . len ( ) ; match Self :: apply_extrinsic_with_len ( uxt , encoded_len , Some ( encoded ) ) { Ok ( internal :: ApplyOutcome :: Success ) => Ok ( ApplyOutcome :: Success ) , Ok ( internal :: ApplyOutcome :: Fail ( _ ) ) => Ok ( ApplyOutcome :: Fail ) , Err ( internal :: ApplyError :: CantPay ) => Err ( ApplyError :: CantPay ) , Err ( internal :: ApplyError :: BadSignature ( _ ) ) => Err ( ApplyError :: BadSignature ) , Err ( internal :: ApplyError :: Stale ) => Err ( ApplyError :: Stale ) , Err ( internal :: ApplyError :: Future ) => Err ( ApplyError :: Future ) , Err ( internal :: ApplyError :: FullBlock ) => Err ( ApplyError :: FullBlock ) , } }
Apply extrinsic outside of the block execution function.
Apply extrinsic outside of the block execution function .
uxt
Block::Extrinsic
uxt
Block::Extrinsic