The NatSpec comment for the updateMarket() function in SystemConfig.sol incorrectly states that there is a check for settlement time passing. However, no such check is implemented.
This discrepancy between the documentation and the actual code implementation can lead to:
Misunderstanding of the function's behavior by developers and auditors
Potential security vulnerabilities if the missing check is assumed to be present
Either implement the missing settlement time check as described in the NatSpec comment, or update the comment to accurately reflect the current function behavior.
The following issues and its duplicates are invalid as admin errors/input validation/malicious intents are1 generally considered invalid based on [codehawks guidelines](https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity#findings-that-may-be-invalid). If they deploy/set inputs of the contracts appropriately, there will be no issue. Additionally admins are trusted as noted in READ.ME they can break certain assumption of the code based on their actions, and
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.