Skip to main content

invoke_light_system_program

Function invoke_light_system_program 

Source
pub fn invoke_light_system_program<AI>(
    account_infos: &[AI],
    account_metas: &[CpiMeta],
    data: &[u8],
    bump: u8,
) -> Result<(), LightSdkTypesError>
where AI: AccountInfoTrait + Clone,
Expand description

Low-level function to invoke the Light system program with a PDA signer.

Uses AI::invoke_cpi() to be generic over the runtime backend.