The UpliftOnlyExample contract enforces a maximum length of 100 for the poolsFeeData[pool][user] array. However, due to a logical error in the UpliftOnlyExample::addLiquidityProportional function, the condition poolsFeeData[pool][msg.sender].length > 100 allows the array to grow to a maximum of 101 elements. Specifically, when poolsFeeData[pool][msg.sender].length == 100, the condition passes, permitting an additional element to be pushed into the array.
UpliftOnlyExample::addLiquidityProportional function:
The poolsFeeData[pool][user] array can exceed the intended maximum length.
Update the UpliftOnlyExample::addLiquidityProportional function:
Only 1 more NFT won’t have any impact. Informational.
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.