I see. But sometimes it is not recommended updating a smart contract as it can mess up everything. In Elrond, is it safe to do it? The common approach is to update the SC? Or the common approach is using a Proxy?
You need to make sure that the new storage layout is compatible with the old layout. It is also good practice to deploy your contract from a multisig so the upgradability is not a security vulnerability. In principle it is the same as having a proxy contract, only more convenient
It's very safe to do and is the most common approach :)
You need to make sure that the new storage layout is compatible with the old layout. It is also good practice to deploy your contract from a multisig so the upgradability is not a security vulnerability. In principle it is the same as having a proxy contract, only more convenient