positionExecutionFee
calculation uses tx.gasprice
which could be manipulated
No upper bound on execution fees
Risk of ETH being locked if gas price spikes between fee calculation and execution
positionExecutionFee can get manipulated. There is no gas limit on.
keep a limit on execution fees so that it cannot be manupliated.
The frontrunner won’t trigger "congestion" without a huge amount of transactions, and it will cost a lot. Moreover, the execution gas limit is overestimated to prevent such cases: ``` executionGasLimit = baseGasLimit + ((estimatedGasLimit + _callbackGasLimit) * multiplierFactor) / PRECISION; ``` The keeper won’t wait long to execute the order; otherwise, GMX would not be competitive.
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.