Skip to content

Remove the superfluous addition of .0 to Ledger test vectors.#2932

Merged
tzemanovic merged 2 commits intomainfrom
murisi/fix-ledger-significant-digits
Apr 12, 2024
Merged

Remove the superfluous addition of .0 to Ledger test vectors.#2932
tzemanovic merged 2 commits intomainfrom
murisi/fix-ledger-significant-digits

Conversation

@murisi
Copy link
Copy Markdown
Collaborator

@murisi murisi commented Mar 21, 2024

Describe your changes

Modified the printing of numbers in Ledger test vectors so that the .0 suffix is not added to whole numbers. So now all unnecessary zeros and decimals at the end of decimal numbers are removed before printing.

Indicate on which release or other PRs this topic is based on

Namada v0.32.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@murisi murisi requested a review from tzemanovic March 21, 2024 10:06
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 53.44%. Comparing base (5e0b162) to head (b021abb).
Report is 4 commits behind head on main.

Files Patch % Lines
crates/sdk/src/signing.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2932   +/-   ##
=======================================
  Coverage   53.44%   53.44%           
=======================================
  Files         310      310           
  Lines      101574   101574           
=======================================
+ Hits        54288    54289    +1     
+ Misses      47286    47285    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tzemanovic added a commit that referenced this pull request Apr 1, 2024
* origin/murisi/fix-ledger-significant-digits:
  Added changelog entry.
  Remove the superfluous addition of .0 to Ledger test vectors.
tzemanovic added a commit that referenced this pull request Apr 10, 2024
* origin/murisi/fix-ledger-significant-digits:
  Added changelog entry.
  Remove the superfluous addition of .0 to Ledger test vectors.
@tzemanovic tzemanovic merged commit f7a8fb4 into main Apr 12, 2024
@tzemanovic tzemanovic deleted the murisi/fix-ledger-significant-digits branch April 12, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants