You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce the ability to self-destruct a contract, making it possible to free up state storage for unused contracts. This feature is useful for cases where a contract has a defined expiration, as it would otherwise force obsolete contracts to impose an unnecessary storage burden on the blockchain.
A practical example is securities such as bonds, which have a fixed expiration (reaching maturity) and retirement date. Once expired, these contracts are no longer needed after a specific period. A smart contract developer could make use of a rusk_abi function to remove the storage of this contract from the chain.
The text was updated successfully, but these errors were encountered:
Summary
Introduce the ability to self-destruct a contract, making it possible to free up state storage for unused contracts. This feature is useful for cases where a contract has a defined expiration, as it would otherwise force obsolete contracts to impose an unnecessary storage burden on the blockchain.
A practical example is securities such as bonds, which have a fixed expiration (reaching maturity) and retirement date. Once expired, these contracts are no longer needed after a specific period. A smart contract developer could make use of a rusk_abi function to remove the storage of this contract from the chain.
The text was updated successfully, but these errors were encountered: