This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
Provide a way to check two contracts share storage layout #63
Labels
source:user-feedback
topic:security
Security reviews and considerations
topic:tools
Off-chain tooling in general
topic:upgradeability
Upgreadeability for user contracts
Milestone
One of the prerequisites for an upgrade to be correct is that the underlying Solidity implementations have the same storage layout. This means that the contracts have the same state variables in the same places, and if there are new state variables in the upgrade they shouldn't conflict with the storage of the state variables in the previous implementation.
We should provide a script to check this. I've begun working on it but I'm blocked by some things about the inheritance graph linearization that I'm waiting to discuss with a few people.
The text was updated successfully, but these errors were encountered: