solana_program::bpf_loader_upgradeable

Function extend_program

source
pub fn extend_program(
    program_address: &Pubkey,
    payer_address: Option<&Pubkey>,
    additional_bytes: u32,
) -> Instruction
Expand description

Returns the instruction required to extend the size of a program’s executable data account