diff --git a/onchain/src/Optimizer.sol b/onchain/src/Optimizer.sol index 58a6371..954c775 100644 --- a/onchain/src/Optimizer.sol +++ b/onchain/src/Optimizer.sol @@ -128,7 +128,7 @@ contract Optimizer is Initializable, UUPSUpgradeable, IOptimizer { /// @dev Gas budget forwarded to calculateParams via staticcall. /// Evolved programs that exceed this are treated as crashes — same outcome /// as a revert — and getLiquidityParams() returns bear defaults instead. - /// 200 000 gives ~13x headroom over the current seed (~15 k gas) while + /// 500 000 gives ~33x headroom over the current seed (~15 k gas) while /// preventing unbounded growth from blocking recenter(). /// /// Note (EIP-150 / 63-64 rule): the outer getLiquidityParams() call must diff --git a/onchain/test/FitnessEvaluator.t.sol b/onchain/test/FitnessEvaluator.t.sol index 5b91eca..1b30c55 100644 --- a/onchain/test/FitnessEvaluator.t.sol +++ b/onchain/test/FitnessEvaluator.t.sol @@ -158,7 +158,7 @@ contract FitnessEvaluator is Test { /// Creates selection pressure toward leaner programs while keeping gas as a /// secondary criterion (ETH retention still dominates). /// At 15 k gas (current seed): ~1.5e17 wei penalty. - /// At 200 k gas (hard cap boundary): ~2e18 wei penalty. + /// At 500 k gas (hard cap boundary): ~5e18 wei penalty. uint256 internal constant GAS_PENALTY_FACTOR = 1e13; // ─── Anvil test accounts (deterministic mnemonic) ────────────────────────