Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: low
Invalid

Misleading Parameter Naming in __LLMOracleManager_init Function

The __LLMOracleManager_init function in the LLMOracleManager contract has a parameter naming issue that may cause confusion regarding its intended usage. The parameter _difficulty is misleadingly named, as it is being used as the second argument in the setFees function, which expects the generationFee.

Here, _difficulty is intended to be the generationFee when calling the setFees function. This parameter naming can lead to confusion, as developers might mistakenly believe that it represents a difficulty setting rather than a fee.

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.