subspace_test_service

Function construct_extrinsic_generic

Source
pub fn construct_extrinsic_generic<Client>(
    client: impl AsRef<Client>,
    function: impl Into<<Runtime as Config>::RuntimeCall>,
    caller: Sr25519Keyring,
    immortal: bool,
    nonce: u32,
    tip: <<Runtime as Config>::OnChargeTransaction as OnChargeTransaction<Runtime>>::Balance,
) -> UncheckedExtrinsic
where <<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.