Problempayment-validation.test.ts covers formats but not extreme decimals (e.g., 30-decimal amounts) that can overflow DB numeric columns.
- No extreme-precision tests.
- No max-decimal enforcement.
- DB errors leak as 500.
Solution
- Enforce max decimals per asset.
- Test extreme inputs.
- Return 422 not 500.
Acceptance Criteria
- Extreme decimals rejected cleanly.
- 422 returned.
pnpm --filter api-gateway build passes.
Note for Contributors: Write a clear PR description. Show an extreme-decimal rejection.
Problem
payment-validation.test.tscovers formats but not extreme decimals (e.g., 30-decimal amounts) that can overflow DB numeric columns.Solution
Acceptance Criteria
pnpm --filter api-gateway buildpasses.Note for Contributors: Write a clear PR description. Show an extreme-decimal rejection.