Eternal storage
The proxy approach works well for upgrades when the logic changes. Storage changes are more complicated since they may involve storage data migration. It is always recommended to decouple the logic changes and the storage changes and develop upgrade strategies for software changes or storage changes accordingly. In some cases, unstructured containers, such as mappings, which includes mappings of mappings, may be the best option so that you avoid constant data structure changes. The gas and economic cost of storage data migration are two of the key considerations in determining whether data migration is feasible or not. Plan for storage migration if needed.
Eternal storage is another option we can use to deal with software ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access