3 ms·
You can implement a function that migrates all of the contract's assets and data to the new version. Obviously, you need to be careful about who can call this f
by Hermel 10y ago
You can implement a function that migrates all of the contract's assets and data to the new version. Obviously, you need to be careful about who can call this function, maybe requiring the agreement of all (or at least a majority) of stakeholders. Also, there is a risk of hitting the gas limit, preventing you from executing a "heavy" migration.