TX will revert if function sqrt is called with a max value of uint256 as input. Although it is very unlikely this bug will be triggered in the current implementation of Dria protocol, it should be fixed in order for sqrt to work properly for all inputs.
This is the sqrt function containing the bug:
Increasing the x by 1 will result in overflow when input is max uint256 value.
TX reverts when if consuming the sqrt function with max uint256 value as input.
Manual review
Change the implementation of sqrt to avoid overflow:
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.