coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.68k stars 1.35k forks source link

Add upgrade program command #47

Closed armaniferrante closed 3 years ago

armaniferrante commented 3 years ago

Unlike the solana program deploy command, the anchor deploy command deploys to a new address everytime. To upgrade, we should implement an explicit anchor upgrade command.

armaniferrante commented 3 years ago

Addressed by https://github.com/project-serum/anchor/commit/9825710c8f2e737b961ce3ae94e8fa4c7e099ca3.