0

Say the makers of a contract all die so no one left has a stake in or knows or cares about that contract. Say the contract never calls self-destruct on itself.

What happens to this old, unused contract? Does it burden the network that it exists? It should never be run or included in future blocks, but doesn't someone somewhere have to store it? Is there a way to reclaim this storage, like requiring all contracts to self destruct after X years?

1

The short answer disregarding edge cases:

If it doesn't selfdestruct then it exists forever.

Hope it helps.

  • That's horrible! The network will get gunked up with junk from the past until its storage size balloons to the point of inconvenience. – Pavel Komarov Dec 6 '17 at 17:41

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.