Closed eliotstock closed 1 year ago
It's not removed. Just the inheritance order is modified. Whitelist inherits OwnableLockable first, then Whitelist is inherited by ValidatorShare.
Previously, whitelist used owner()
from Ownable.sol
so modifying the inheritance hierarchy was required. I can move it back too if that makes code cleaner, else logic remains the same.
OK no worries, sounds fair enough.
Here's the diff between our version of
ValidatorShare.sol
and the original. I'd expect to see only the addition of the whitelist in this diff.Why did you remove
OwnableLockable
? Could be a valid choice, I'm just wondering.