solana 合约升级

solana 合约升级

背景

问题描述:
合约第一次部署,正常,再次执行solana deploy

报错:

Error: Deploying program failed: RPC response error -32002: Transaction simulation failed: Error processing Instruction 0: account data too small for instruction [3 log messages]
There was a problem deploying: Output {
   
    
     status: ExitStatus(unix_wait_status(