Skip to content
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

[ABW-1913] Apply divisibility to guaranteed amount #1009

Closed
wants to merge 2 commits into from

Conversation

kugel3
Copy link
Contributor

@kugel3 kugel3 commented Jan 29, 2024

Jira ticket: ABW-1913

Description

After applying a guarantee, we should round the amount according to the divisibility of the resource.

How to test

  • Make an "estimated" transaction with a resource that has divisibility smaller than 18.
  • Apply a guarantee
    -> The resulting amount should not have more decimals than the divisibility dictates

Screenshot

Coming

PR submission checklist

  • I have tested account to account transfer flow and have confirmed that it works

@kugel3 kugel3 force-pushed the ABW-1913_Fungible-Rounding branch 2 times, most recently from e4ba835 to 4ee8147 Compare January 29, 2024 12:04
@kugel3 kugel3 force-pushed the ABW-1913_Fungible-Rounding branch from 4ee8147 to 371d8ad Compare January 29, 2024 12:13
@kugel3
Copy link
Contributor Author

kugel3 commented Jan 30, 2024

This functionality is partly already existing, partly included in #1010

@kugel3 kugel3 closed this Jan 30, 2024
@kugel3 kugel3 deleted the ABW-1913_Fungible-Rounding branch January 30, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant