Problem
The asset validator defines a seven-decimal stroop limit but applies the generic token limit to native assets, so invalid native configurations with more than seven decimals are accepted.
Task
Use the native decimal limit for native assets while retaining the existing token limit for SAC assets. Add regression tests.
Acceptance criteria
- Native assets reject decimals above seven.
- SAC assets retain their current supported range.
- Existing valid fixtures still pass.
- SDK tests and typecheck pass.
Suggested implementation prompt
Apply the existing native stroop decimal constant when validating native assets, preserve the SAC limit, add boundary tests for both asset types, and make no unrelated changes.
Problem
The asset validator defines a seven-decimal stroop limit but applies the generic token limit to native assets, so invalid native configurations with more than seven decimals are accepted.
Task
Use the native decimal limit for native assets while retaining the existing token limit for SAC assets. Add regression tests.
Acceptance criteria
Suggested implementation prompt