August 2019
Intermediate to advanced
486 pages
13h 52m
English
If any change is made to the inheritance order, it will also affect the storage variable order. For example, say you were to change the inheritance in the following way:
//Bad Practicecontract MyContract is B, A { //Inheritance order is changed //...}
This would update the compiled code of the contract and might corrupt the state variable data. Avoid doing this for contract upgrades.