The wethRewardPerVaultShare calculation in receiveWethReward() doesn't account for vault's delegated credit proportion, leading to incorrect reward distribution among vaults.
The issue occurs in Market.sol where wethRewardChangeX18 is calculated without considering vault's proportional credit contribution:
Also, receiveWethReward() updates wethRewardPerVaultShare without dividing by total delegated credit:
As a result, all vaults will receive the same WETH reward, regardless of their delegated credit amount. And the total rewards will be greater than the actual WETH rewards received.
Vaults receive equal WETH rewards regardless of their delegated credit amount, causing unfair reward distribution.
Divide receivedVaultsWethRewardX18 by totalDelegatedCreditUsd when updating wethRewardPerVaultShare to properly account for each vault's proportional credit contribution.
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.