Skip to content

Conversation

@github-actions
Copy link

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

EURC has only 6 decimal places, but the amount from liquidity
balance can have more (e.g. 12). This caused ethers.parseUnits()
to throw NUMERIC_FAULT underflow when the fractional component
exceeded the token's decimals.

Use EvmUtil.toWeiAmount() which correctly rounds to the specified
decimals before calling parseUnits.
@TaprootFreak TaprootFreak merged commit 9a66311 into main Jan 13, 2026
7 checks passed
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.

2 participants