Deleted Contracts - What happens to storage? #3620
-
I haven't fully tested here, so please forgive me. :) I am able to deploy a contract with storage allocated, think guest book example. Is contract + all previous storage values removed or marked for removal? Hoping to get some thoughts around this, so I can solidify contract upgrade approaches. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If by "delete contract" you mean you deleted the account, then yes, everything in the contract storage is removed and the name can be reclaimed. For contract upgradability, there is some discussion here near/NEPs#123 |
Beta Was this translation helpful? Give feedback.
If by "delete contract" you mean you deleted the account, then yes, everything in the contract storage is removed and the name can be reclaimed. For contract upgradability, there is some discussion here near/NEPs#123