Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: medium
Valid

Frequent fee rate changes for the execution fee might affect Steadefi Strategy Vaults

Summary

When there are positive or negative impacts in the GMX markets, the Fee to be accepted for transaction execution changes, which might impact how transactions emanate from the vaults towards the GMX market.

Vulnerability Details

This kind of issue that the protocol might encounter might be caused for not so stable fee required for execution of both successful transactions and failed transactions.

Impact

The impact so to speak of this issue, is the execution fee being passed as a parameter to GMX might not be enough to cover the transactions, as the fee required to execute might change just before the two step transaction process, leaving reverted transactions as the results

Tools Used

Manual Analysis

Recommendations

Users and the Protocol, should be wary and always ready to handle these kind of situations, to always make sure the amount used in executing the transaction in GMX is enough and not a fixed value, even in Highly Volatile GMX markets

Updates

Lead Judging Commences

hans Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

Hardcoded gas for callback execution

Impact: High Likelihood: Low GMX can change the MAX_CALLBACK_GAS_LIMIT to lower than 2m.

Support

FAQs

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