In PerpetualVault::_withdraw
function when positionIsClose is true then the user gets their collateral token based on the current collateral balance of the protcol, If there is no GMX order execution the fee would be refunded and if there isn't the fee won't be refunded.
so the user should get their fee refunded if the postion is closed.
user not getting their executionFee refunded.
No fee needed in _payExecutionFee when position is closed. Make a PoC if you disagree.
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.