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

refactor(core): tari newtype wraps MicroTari #3960

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Mar 25, 2022

Description

  • uses MicroTari to back Tari newtype

Motivation and Context

This avoids a fair amount of complexity and footguns. I wanted to remove the decimal dependency but it come in handy for the parsing of decimal strings. The only API breaking change is that negatives are not supported (not currently used) but this would be fairly straight forward to add.

How Has This Been Tested?

New and updated unit tests, Manually checked the wallet

@sdbondi sdbondi force-pushed the core-tari-newtype-cleanup branch 7 times, most recently from c525414 to 31f5dbc Compare March 29, 2022 12:42
SWvheerden
SWvheerden previously approved these changes Mar 30, 2022
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aviator-app aviator-app bot merged commit e590547 into tari-project:development Apr 4, 2022
@sdbondi sdbondi deleted the core-tari-newtype-cleanup branch April 4, 2022 14:38
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.

3 participants