Function solana_sdk::bpf_loader_upgradeable::deploy_with_max_program_len [−][src]
pub fn deploy_with_max_program_len(
payer_address: &Pubkey,
program_address: &Pubkey,
buffer_address: &Pubkey,
upgrade_authority_address: &Pubkey,
program_lamports: u64,
max_data_len: usize
) -> Result<Vec<Instruction, Global>, InstructionError>
Expand description
Returns the instructions required to deploy a program with a specified maximum program length. The maximum length must be large enough to accommodate any future upgrades.