-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decimal handling (6 and 18) #48
Comments
ProblemThe EVM operates with 18 decimals, while the Cosmos SDK is based on 6 decimals. This mismatch can lead to inconsistencies when handling values below 10^-6 in the EVM. Currently, cosmos-evm mitigates this by rounding down any fractional value below 10^-6.
Test
Solution
Summary
Direction
|
Test coverage:
Invariants
Migration
|
Gracefully handling the interoperability between 6 decimal Cosmos coins and 18-decimal ERC-20 tokens
The text was updated successfully, but these errors were encountered: