fix: OptimizerV3Push3 as IOptimizer always returns bear defaults — integration risk (#1063)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-20 20:52:29 +00:00
parent 45142e762a
commit 62fc7957b0
4 changed files with 13 additions and 7 deletions

View file

@ -16,7 +16,6 @@ import { OptimizerV3Push3Lib } from "./OptimizerV3Push3Lib.sol";
*/
contract OptimizerV3Push3 is IOptimizer {
/**
* @inheritdoc IOptimizer
* @dev Always reverts this contract is a transpiler harness, not a production optimizer.
* Calling getLiquidityParams() on this stub is a deployment misconfiguration.
* LiquidityManager.recenter() has a try/catch that falls back to bear-mode defaults,