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

Use ironfish decimal parsing function #4929

Conversation

danield9tqh
Copy link
Member

@danield9tqh danield9tqh commented Apr 23, 2024

Summary

Standardizing which function we use for parsing decimal values to BigInts

Testing Plan

Existing unit tests

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Removes exports ParseFixedError and isParseFixedError from CurrencyUtils and changes the error value in CurrencyUtils.tryMajorToMinor

@danield9tqh danield9tqh requested a review from a team as a code owner April 23, 2024 20:57
@danield9tqh danield9tqh changed the title Return standard Error object from CurrencyUtils Use ironfish decimal parsing function Apr 23, 2024
@danield9tqh danield9tqh added the breaking-change-sdk A breaking change to the SDK API that should be called out in release notes label Apr 23, 2024
@danield9tqh danield9tqh merged commit 4761f24 into iron-fish:staging Apr 23, 2024
5 checks passed
@danield9tqh danield9tqh deleted the return-standard-errors-from-currency-utils branch April 23, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change-sdk A breaking change to the SDK API that should be called out in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants