domain_test_service

Function construct_extrinsic_generic

source
pub fn construct_extrinsic_generic<Runtime, Client>(
    client: impl AsRef<Client>,
    function: impl Into<<Runtime as Config>::RuntimeCall>,
    caller: Runtime::Keyring,
    immortal: bool,
    nonce: u32,
    tip: <<Runtime as Config>::OnChargeTransaction as OnChargeTransaction<Runtime>>::Balance,
) -> 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, u64: From<BlockNumberFor<Runtime>>, Client: HeaderBackend<Block>,
Expand description

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