Function solana_program_runtime::invoke_context::mock_process_instruction_with_sysvars[][src]

pub fn mock_process_instruction_with_sysvars(
    loader_id: &Pubkey,
    program_indices: Vec<usize>,
    instruction_data: &[u8],
    keyed_accounts: &[(bool, bool, Pubkey, Rc<RefCell<AccountSharedData>>)],
    sysvars: &[(Pubkey, Vec<u8>)],
    process_instruction: ProcessInstructionWithContext
) -> Result<(), InstructionError>