Implementations should inherit their interface #234
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
Handle
WatchPug
Vulnerability details
It's a best practice for the contract implementations to inherit their interface definition.
Doing so would improve the contract's clarity, and force the implementation to comply with the defined interface.
Instances include:
https://github.com/code-423n4/2021-11-streaming/blob/56d81204a00fc949d29ddd277169690318b36821/Streaming/src/Locke.sol#L9-L9
Governed
should inheritIGoverned
.The text was updated successfully, but these errors were encountered: