The easiest standard for
DELEGATECALL upgrade mechanism is
I don't get completely how it works, especially these aspects:
- The "eternal" storage which will survive upgrades should go to the
Dispatcher, not the implementing/upgradeable contract, is that correct?
- Should the upgradeable contract have it's own storage at all or should it be without storage/state like libraries?
- Why can the delegated contract not change it's storage layout? Or is this true for the
- There are other solutions like delegating to a dedicated eternal storage contract (https://blog.colony.io/writing-upgradeable-contracts-in-solidity-6743f0eecc88) what are the advantages/disadvantages of these solutions