fix: silent success issues surfaced during coverage upping - #81
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #81 +/- ##
===========================================
+ Coverage 65.26% 99.88% +34.62%
===========================================
Files 26 26
Lines 3463 3500 +37
===========================================
+ Hits 2260 3496 +1236
+ Misses 1203 4 -1199 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
🎉 This PR is included in version 1.11.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to error handling, asynchronous library loading, and input validation across several commands related to wallet and key management. The main goals are to make error messages more informative, ensure proper sequencing when waiting for cryptographic libraries to load, and fix some logic around file input and fee handling.
The most important changes are:
Improved Asynchronous Library Loading
waitForQRLLIB,waitForDILLIB, andwaitForKYBLIBto return Promises and beawait-able, ensuring that commands only proceed after the library has loaded and the callback has completed. This prevents unhandled rejections and makes error handling more robust ingenerate-lattice-keys.js,generate-shared-keys.js, andcreate-wallet.js. [1] [2] [3]Error Handling and User Feedback Enhancements
balance.js,dump-transactions.js, andgenerate-lattice-keys.js. [1] [2] [3]Input Validation and File Handling
generate-shared-keys.js. [1] [2] [3] [4]balance.jsanddump-transactions.js. [1] [2]Fee Handling and Documentation
generate-lattice-keys.js. [1] [2]API Rate Limiting
dump-transactions.js.