cast call with a typed '(uint256)' selector returns output like '140734553600000 [1.407e14]' — the numeric value followed by a bracketed scientific-notation annotation. The cast to-dec added in the previous review-fix commit failed on this annotated string and fell back to echo "0", making call_recenter() always skip the VWAP-already- bootstrapped guard and attempt the real recenter() call, which then reverted with "amplitude not reached". Fix: drop the cast to-dec normalisation. A plain != "0" string check is sufficient because cast returns "0" (no annotation) for the zero case and any non-zero annotated string is also != "0". 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 | ||