harb/scripts
openhands 02b055ceb9 fix: move VWAP bootstrap from forge script to bootstrap-common.sh
vm.warp in forge script --broadcast only affects the local simulation
phase, not the actual Anvil node.  The pool.observe([300,0]) call in
recenter() therefore reverted with OLD when Forge pre-flighted the
broadcast transactions on Anvil.

Fix:
- Remove the vm.warp + 2-recenter + SeedSwapper VWAP bootstrap from
  DeployLocal.sol (only contract deployment now, simpler and reliable).
- Add bootstrap_vwap() to bootstrap-common.sh that uses Anvil RPC
  evm_increaseTime + evm_mine to advance chain time before each recenter,
  then executes a 0.5 ETH WETH->KRK seed swap between them.
- Call bootstrap_vwap() before fund_liquidity_manager() in both
  containers/bootstrap.sh and ci-bootstrap.sh so the LM is seeded with
  thin positions (1 ETH) during bootstrap, ensuring the 0.5 ETH swap
  moves the price >400 ticks (amplitude gate).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 23:28:52 +00:00
..
harb-evaluator fix: Remove recenterAccess — make recenter() public with TWAP enforcement (#706) 2026-03-13 22:32:53 +00:00
bootstrap-common.sh fix: move VWAP bootstrap from forge script to bootstrap-common.sh 2026-03-13 23:28:52 +00:00
build-ci-images.sh refactor: consolidate CI and local dev orchestration (#108) 2026-02-03 12:07:28 +01:00
build-kraiken-lib.sh tax rate, version and compose (#70) 2025-10-07 19:26:08 +02:00
ci-bootstrap.sh fix: move VWAP bootstrap from forge script to bootstrap-common.sh 2026-03-13 23:28:52 +00:00
dev.sh feat: add Otterscan block explorer to dev environment (#109) 2026-02-13 14:55:07 +00:00
quick-screenshot.mjs fill stake e2e 2025-10-11 17:54:49 +00:00
review-poll.sh fix: address review — migration comment, link ring buffer constants (#170) 2026-02-22 18:56:36 +00:00
review-pr.sh fix: address review — migration comment, link ring buffer constants (#170) 2026-02-22 18:56:36 +00:00
run-usertest.sh feat/ponder-lm-indexing (#142) 2026-02-18 00:19:05 +01:00
screenshot-stake-page.mjs fill stake e2e 2025-10-11 17:54:49 +00:00
sync-tax-rates.mjs tax rate, version and compose (#70) 2025-10-07 19:26:08 +02:00
wait-for-service.sh refactor: consolidate CI and local dev orchestration (#108) 2026-02-03 12:07:28 +01:00
watch-kraiken-lib.sh migrate/podman-to-docker (#92) 2025-11-08 14:08:46 +01:00