I have deployed a program which got allocated 41216
bytes for the program account. I have changed this program, and would like to redeploy. However, the changed program is 46984
bytes.
Error: Deploying program failed: Error processing Instruction 0: account data too small for instruction
Is there a way to increase the existing account size (retain program id)? Or, would I need to deploy as a new program (new program id)?
I am aware of Account_info::AccountInfo::realloc. However, as the program is already deployed, I would not be able to retroactively add this.
Any help is appreciated.