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:
parent
45142e762a
commit
62fc7957b0
4 changed files with 13 additions and 7 deletions
|
|
@ -134,8 +134,8 @@ contract BacktestRunner is Script {
|
|||
// ------------------------------------------------------------------
|
||||
// KrAIken system deployment (follows DeployLocal.sol pattern)
|
||||
//
|
||||
// 1. Deploy OptimizerV3Push3 (no proxy — getLiquidityParams() uses zeroed
|
||||
// inputs, returning bear-mode defaults on every recenter).
|
||||
// 1. Deploy OptimizerV3Push3 (no proxy — getLiquidityParams() always reverts;
|
||||
// LM's try/catch falls back to bear-mode defaults on every recenter).
|
||||
// 2. Deploy LiquidityManager pointing at the shadow pool.
|
||||
// 3. Wire BacktestKraiken.setLiquidityManager(lm).
|
||||
// 4. Set feeDestination = sender.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue