DeployLocal.sol now calls recenter() twice during the VWAP bootstrap sequence (issue #567 fix). The second recenter leaves ANCHOR positions at the post-seed-buy tick, so the CI bootstrap's subsequent call_recenter() failed with "amplitude not reached" (currentTick == anchorCenterTick, amplitude = 0 < 400). Fix: before calling recenter(), check cumulativeVolume(). If it is already > 0, the deploy script has placed positions and bootstrapped VWAP -- skip the redundant recenter rather than failing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| harb-evaluator | ||
| bootstrap-common.sh | ||
| build-ci-images.sh | ||
| build-kraiken-lib.sh | ||
| ci-bootstrap.sh | ||
| dev.sh | ||
| quick-screenshot.mjs | ||
| review-poll.sh | ||
| review-pr.sh | ||
| run-usertest.sh | ||
| screenshot-stake-page.mjs | ||
| sync-tax-rates.mjs | ||
| wait-for-service.sh | ||
| watch-kraiken-lib.sh | ||