The FeeConversionKeeper contract's unbounded array handling can lead to transactions exceeding block gas limits, causing systematic failure of fee conversion operations in the market making engine.
In the core fee management flow, checkUpkeep
creates unbounded arrays that scale with market count. When these transactions hit block gas limits, the entire fee conversion pipeline stalls. Fee conversions in FeeDistributionBranch.sol
begin to fail systematically, leaving accumulated fees unconverted in their original asset form instead of WETH.
This failure cascades to market making operations, where unconverted fees disrupt the compensation schedule for market makers. The delayed conversion and distribution can force market makers to reduce their activities or withdraw liquidity, directly impacting market quality.
At the protocol level, the fee conversion failure creates systemic risk. The MarketMakingEngineConfiguration.sol
can't execute its distribution logic, leaving protocol revenue in volatile assets. This exposes the protocol to unnecessary market risk and disrupts the economic incentives designed to maintain market stability.
The unlimited batch size in fee conversion operations can exceed block gas limits, causing all fee management operations to fail.
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.