solana_sdk::program

Function invoke

Source
pub fn invoke(
    instruction: &Instruction,
    account_infos: &[AccountInfo<'_>],
) -> Result<(), ProgramError>
Expand description

Like solana_cpi::invoke, but with support for overwriting the sol_invoke_signed syscall stub.