harb/onchain/test
johba db23d756e9 fix: Optimize fuzzing and fix CSV buffer accumulation
- Deploy Uniswap factory once before all runs (saves ~1.16M gas per run)
- Fix CSV buffer accumulation bug by clearing buffer between runs
- Add clearCSV() function to CSVManager for proper buffer management
- Each fuzzing run now gets its own clean CSV with correct token0isWeth values
- Comment out failing console.log in Optimizer.t.sol to fix compilation

The token ordering now correctly alternates:
- Even seeds: token0isWeth = true (WETH < KRAIKEN)
- Odd seeds: token0isWeth = false (KRAIKEN < WETH)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 13:30:18 +02:00
..
abstracts refactor: Complete project renaming from HARB/Harberger to KRAIKEN 2025-08-19 11:05:08 +02:00
helpers refactor: Complete project renaming from HARB/Harberger to KRAIKEN 2025-08-19 11:05:08 +02:00
libraries Fix failing test suite by addressing fuzzing bounds and event expectations 2025-07-15 11:57:28 +02:00
mocks feat: Dynamic anchorWidth based on staking metrics 2025-08-19 11:41:02 +02:00
Kraiken.t.sol Complete project rename from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:42 +02:00
LiquidityManager.t.sol renaming 2025-07-25 19:09:11 +02:00
Optimizer.t.sol fix: Optimize fuzzing and fix CSV buffer accumulation 2025-08-19 13:30:18 +02:00
ReplayProfitableScenario.t.sol feat: Add scenario recording and replay system for invariant debugging 2025-08-18 20:31:39 +02:00
Stake.t.sol renaming 2025-07-25 19:09:11 +02:00
VWAPTracker.t.sol Consolidate duplicate helper functions and improve test maintainability 2025-07-18 20:30:50 +02:00