TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: low
Invalid

Timing precision loss of the _deployTimestamp in the auction contract

Summary

The _deployTimestampwas not initialized; leaving it to be malleable.

Vulnerability Details

The _deployTimestampis in the constructor.

It can cause havoc where it is used to calculate timing in the contract because it was not initialized to a value.

Impact

Timing precision loss.

Tools Used

Manual review.

Recommendations

Set the _deployTimestamp to 0 first before assigning it directly to block.timestamp.

This way, it will be initialized to a value, and the timing calculation hereafter will be precise.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.