-
Notifications
You must be signed in to change notification settings - Fork 5
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
1160: add exact amount display method #9
1160: add exact amount display method #9
Conversation
a41da0f
to
f207aec
Compare
@frol this one is ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'd like to invite you to participate in the Race of Sloths. Just mention @race-of-sloths user in your GitHub comment or PR description to join!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lauchaves Great! Thank you for bringing tests to it as well!
Indeed, consider joining the @race-of-sloths
@race-of-sloths pls, include my pr in the race! |
@lauchaves Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Current status: executed
The average score is 2 @lauchaves check out your results on the Race of Sloths Leaderboard! and in the profile What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
🔄 The PR has been merged.Important This pull request is a part of the Race of Sloths and has not been scored yet. Scoring will close in 24 hours! 🕰️ |
@race-of-sloths score 2 |
🌟 Score recorded!@frol, thank you for scoring this pull request in the Race of Sloths! |
✅ PR is finalized!Your contribution is much appreciated with a final score of 2! Another weekly streak completed, well done @lauchaves! To keep your weekly streak and get another bonus make pull request next week! Looking forward to see you in race-of-sloths |
Description
This PR fix issue #1160 from near-sdk
Need to add the
exact_amount_display
method to formatyoctoNEAR
values for clearer error messages innear-sdk
storage management.Implementation
exact_amount_display
Method: it formats NearToken amounts for display as yoctoNEAR or NEAR.Example Usage: