The getFee function in the LLMOracleManager contract contains a logical error in the calculation of the totalFee.
In the getFee function, the calculation of the totalFee is performed as follows:
The current formula groups the generatorFee and validatorFee together, multiplying them by parameters.numGenerations and parameters.numValidations respectively. This results in an incorrect total fee calculation.
incorrect fee calculation
Manual Review
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.