domain_test_service

Function construct_unsigned_extrinsic

source
pub fn construct_unsigned_extrinsic<Runtime>(
    function: impl Into<<Runtime as Config>::RuntimeCall>,
) -> UncheckedExtrinsic<<Runtime as DomainRuntime>::Address, <Runtime as Config>::RuntimeCall, <Runtime as DomainRuntime>::Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>
where Runtime: Config<Hash = H256> + Config + DomainRuntime + Send + Sync, Runtime::RuntimeCall: Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + Send + Sync, <<Runtime as Config>::OnChargeTransaction as OnChargeTransaction<Runtime>>::Balance: Send + Sync + From<u64> + FixedPointOperand,
Expand description

Construct an unsigned extrinsic that can be applied to the test runtime.