Unexpected but possible decimals of the feed not being 8 result in a bad LP distribution.
Feeds can added without checking the decimals, so if a feed with decimals 10 is added, this affects directly to _getTokenPriceMinMaxFormatted() in the GMXOracle.sol:
This results in the protocol not to revert and also make an assertion test to fail:
Bad calculations of LP prices can be done and affect directly to the core logic of the protocol.
Manual Review
I would recommend to check the decimals of the feed before operating. And if some specific decimals not allowed have a protection for it before adding/interacting with them.
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.