samedi 9 février 2019

Eternal storage pattern with structs

I'm working on an up-gradable smart contracts design and I found the eternal storage pattern would be very useful (separate logic and data in key value pairs), however, it seems to fit if the value is an elementary type (uint, bytes, address, bool..), but when it comes to complex types such as structs, does it make sense to store and access each field separately?

Aucun commentaire:

Enregistrer un commentaire