The UpliftOnlyExample::FeeData struct defines the blockTimestampDeposit field as uint40. However, in the UpliftOnlyExample::afterUpdate function, this field is assigned a value of type uint32. This mismatch leads to an incorrect value being stored in the blockTimestampDeposit field when block.number exceeds the maximum value of uint32. (Another issue in the same line is mentioned in a separate report)
UpliftOnlyExample::afterUpdate function:
If block.number surpasses the maximum value of the uint32 type, the blockTimestampDeposit field in the FeeData struct will store an incorrect value.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.