pub fn process_update_light_config<'info>(
config_account: &AccountInfo<'info>,
authority: &AccountInfo<'info>,
new_update_authority: Option<&Pubkey>,
new_rent_sponsor: Option<&Pubkey>,
new_compression_authority: Option<&Pubkey>,
new_rent_config: Option<RentConfig>,
new_write_top_up: Option<u32>,
new_address_space: Option<Vec<Pubkey>>,
owner_program_id: &Pubkey,
) -> Result<(), ProgramError>Expand description
Updates an existing compressible config
§Arguments
config_account- The config PDA account to updateauthority- Current update authority (must match config)new_update_authority- Optional new update authoritynew_rent_sponsor- Optional new rent recipientnew_compression_authority- Optional new compression authoritynew_rent_config- Optional new rent function parametersnew_write_top_up- Optional new write top-up amountnew_address_space- Optional new address space (currently 1 address_tree allowed)owner_program_id- The program that owns the config
§Returns
Ok(())if config was updated successfullyErr(ProgramError)if there was an error