3 ms·
Is there a good reason that the CLI is able to close a contract with money in it?
by CGamesPlay 4y ago
Is there a good reason that the CLI is able to close a contract with money in it?
- jpgvm 4y agoThe money within the contract wasn't the problem, that was transferred out as part of closing the program. However there were other assets on the chain that are locked using the program which are now inaccessible because its inoperable. Consider it like an operation that closes and deletes your user-account but returns you an archive of your home directory when it's complete. However all files that weren't in your home directory that were encrypted with your local user key now can't be read. It's likely infeasible to predicate program deletion on the program no longer being referenced in other programs/contracts. Disclaimer: I'm not a Solana expert (or a crypto advocate for that matter)