fix(frontend): type limit-order gas totals for tsc #1335

Merged
PlasticDigits merged 1 commit from fix/frontend-gas-tsc into main 2026-09-24 07:59:45 +00:00

Summary

  • Type the limit-order gas step accumulator as number and accept unknown max_adjust_steps so tsc -b matches the Coolify frontend image.
  • Production build was failing with TS2322 / TS18046 / TS2345 in terraGas.ts.

Test plan

  • tsc -b reproduces the six Coolify errors on the previous file and passes after the change
  • Vitest: transactions, pair, and batch-cancel gas tests (95 passed)
## Summary - Type the limit-order gas step accumulator as number and accept unknown max_adjust_steps so tsc -b matches the Coolify frontend image. - Production build was failing with TS2322 / TS18046 / TS2345 in terraGas.ts. ## Test plan - [x] tsc -b reproduces the six Coolify errors on the previous file and passes after the change - [x] Vitest: transactions, pair, and batch-cancel gas tests (95 passed)
fix(frontend): type limit-order gas totals for tsc
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
219ef2919c
unknown[] reduce and max_adjust_steps were inferred as unknown, so the Coolify frontend image failed tsc -b.
Author
Owner

drain skip: no occupying job for rebase/fix-pr/CI-wait; remaining continue

drain skip: no occupying job for rebase/fix-pr/CI-wait; remaining continue
Author
Owner

drain skip: default autoland requires tip ACCEPT (#77)

drain skip: default autoland requires tip ACCEPT (#77)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!1335
No description provided.