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

Change all token-related data that won't hold negative values to token::Amount #1959

Closed
Tracked by #2006
brentstone opened this issue Sep 30, 2023 · 0 comments · Fixed by #1612
Closed
Tracked by #2006

Change all token-related data that won't hold negative values to token::Amount #1959

brentstone opened this issue Sep 30, 2023 · 0 comments · Fixed by #1612
Labels

Comments

@brentstone
Copy link
Collaborator

Some data like bonds use token::Change, which is an alias for an I256 for the token amounts, despite the fact that it should never hold negative values. All such instances should be changed to token::Amount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant