Unenforced State Maintenance Keywords
Overview
- Severity: High
- Confidence: High
- Affected Versions: 0.4.x
What is the Unenforced State Maintenance Keywords vulnerability?
In early versions of Solidity, the keywords constant
, pure
, and view
for functions were not always respected by the compiler, leading to potentially conflicting logic and integration issues. These older compiler versions should be generally avoided for modern Solidity development to avoid such known issues.
Further reading: Solidity Documentation: 0.5.0 Breaking Changes