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

* fix(deuro): correct decimal comparison in bridge capacity check

The bridge capacity check was comparing values with different decimals:
- weiAmount: token decimals (e.g., 6 for EURC)
- remainingCapacity: 18 decimals (DEURO format)

This caused the check to pass incorrectly, leading to smart contract
Limit errors. Now normalizes weiAmount to 18 decimals before comparison.

* fix: refactoring

---------

Co-authored-by: David May <david.leo.may@gmail.com>
@TaprootFreak TaprootFreak merged commit 04d4aee into main Jan 19, 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