Floating pragma #23
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
saian
Vulnerability details
Impact
Contracts should be deployed with the same version of compilers with which it was tested,
Using a unlocked pragma might result in contract being deployed with a version it was not tested with, and might result in bugs and unwanted behaviour.
Proof of Concept
Contracts in below repositories :
maple-labs/debt-locker
maple-labs/erc20-helper
maple-labs/loan
maple-labs/maple-proxy-factory
maple-labs/proxy-factory
Tools Used
Manual Analysis
Recommended Mitigation Steps
Lock the pragma version, it is advised not to use unlocked pragma in production.
The text was updated successfully, but these errors were encountered: