Skip to content

feat: Add AVAX, CNY, INR currencies#94

Merged
dapi merged 2 commits intomasterfrom
feature/add-avax-cny-inr-currencies
Jan 29, 2026
Merged

feat: Add AVAX, CNY, INR currencies#94
dapi merged 2 commits intomasterfrom
feature/add-avax-cny-inr-currencies

Conversation

@dapi
Copy link
Copy Markdown

@dapi dapi commented Jan 29, 2026

Summary

  • Add missing currencies that exist in gera_currency_rates table but were not configured
  • AVAX (Avalanche) - cryptocurrency
  • CNY (Chinese Yuan) - fiat currency
  • INR (Indian Rupee) - fiat currency

Context

These currencies were causing 500 errors on cometa.gg when accessing user pages because CurrencyRatesRepository#rates_by_pair iterates over all CurrencyRate records and fails on Money::Currency.find! for unknown currencies.

Related issue: alfagen/mercury#1813

Test plan

  • Deploy to staging
  • Verify user page loads without errors
  • Verify exchange rate calculations work for these currencies

🤖 Generated with Claude Code

dapi and others added 2 commits January 29, 2026 15:48
Add missing currencies that exist in gera_currency_rates table
but were not configured:
- AVAX (Avalanche) - cryptocurrency
- CNY (Chinese Yuan) - fiat currency
- INR (Indian Rupee) - fiat currency

Fixes alfagen/mercury#1813

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dapi dapi merged commit 9e96c0c into master Jan 29, 2026
1 check passed
@dapi dapi deleted the feature/add-avax-cny-inr-currencies branch January 29, 2026 14:16
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.

1 participant