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

Adjusted test vector printing to simplify hardware wallet implementations #3122

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

murisi
Copy link
Contributor

@murisi murisi commented Apr 24, 2024

Describe your changes

Made the adjustments to facilitate the hardware wallet's printing of transactions. More specifically, the ordering used to print the commission field of an update steward commission transaction has been changed to reflect its serialization order. Also removed some dead code pertaining to printing out proposal types.

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

Namada v0.33.0

Checklist before merging to draft

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

@murisi murisi changed the title Corrected the printing of test vectors to match serialization order. Adjusted test vector printing to simplify hardware wallet implementations Apr 24, 2024
@murisi murisi requested a review from Fraccaman April 24, 2024 12:03
Fraccaman
Fraccaman previously approved these changes Apr 24, 2024
@brentstone brentstone mentioned this pull request Apr 24, 2024
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

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

Project coverage is 59.41%. Comparing base (97ec5b4) to head (c25dad2).
Report is 10 commits behind head on main.

Files Patch % Lines
crates/governance/src/storage/proposal.rs 0.00% 2 Missing ⚠️
crates/sdk/src/signing.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3122      +/-   ##
==========================================
+ Coverage   59.39%   59.41%   +0.01%     
==========================================
  Files         298      298              
  Lines       92771    92754      -17     
==========================================
+ Hits        55104    55107       +3     
+ Misses      37667    37647      -20     

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

brentstone added a commit that referenced this pull request Apr 25, 2024
* murisi/test-vectors-0.33.0:
  Added changelog entry.
  Corrected the printing of test vectors to match serialization order.
brentstone added a commit that referenced this pull request Apr 25, 2024
* murisi/test-vectors-0.33.0:
  Added changelog entry.
  Corrected the printing of test vectors to match serialization order.
@murisi murisi force-pushed the murisi/test-vectors-0.33.0 branch from 2559d34 to c25dad2 Compare April 25, 2024 07:37
@brentstone brentstone merged commit 864dd64 into main Apr 27, 2024
16 of 19 checks passed
@brentstone brentstone deleted the murisi/test-vectors-0.33.0 branch April 27, 2024 00:49
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