September 2019
Beginner to intermediate
540 pages
13h 3m
English
The diamond problem refers to the case where one contract extends from two other contracts, and both extend from a common parent contract, as shown here:

Solidity follows the path Python is taking when it comes to resolving the diamond problem and uses C3 linearization to force a certain kind of order in the base classes.
We can see the following in the following code snippet:
Read now
Unlock full access