Skip to content

fix: Add ISO 4217 currency code validation#750

Merged
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
obacollins-lab:fix/691-iso4217-validation
Jun 1, 2026
Merged

fix: Add ISO 4217 currency code validation#750
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
obacollins-lab:fix/691-iso4217-validation

Conversation

@obacollins-lab
Copy link
Copy Markdown

  • Enforce ISO 4217 format validation: exactly 3 uppercase letters
  • Replace flexible code validation (1-12 chars) with strict standard
  • Prevent invalid currency codes from propagating to contract
  • Add clear error message for non-compliant codes
  • Validates all currency codes during configuration load

closes #691

- Enforce ISO 4217 format validation: exactly 3 uppercase letters
- Replace flexible code validation (1-12 chars) with strict standard
- Prevent invalid currency codes from propagating to contract
- Add clear error message for non-compliant codes
- Validates all currency codes during configuration load
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

Someone is attempting to deploy a commit to the Harold's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@obacollins-lab Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Haroldwonder Haroldwonder merged commit 7ef5dd2 into Haroldwonder:main Jun 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

api/src/config.ts CurrencyConfigLoader does not validate ISO 4217 currency codes

2 participants