-
Notifications
You must be signed in to change notification settings - Fork 73
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
Sync master branch to 2.2.4 #272
Conversation
Sgl/flex porting
Fix the txmaker test util
This option allows to compile the testnet app in a mode that allows autoapproving any request, in order to measure the performance of various operations either in speculos, or on a real device.
These tests are no longer worth the maintenance burden, as they test specific conditions and only apply to an old version of the app protocol. The corresponding tests for the newer version of the protocol are kept in the codebase.
It is useful to test that large amounts are shown correctly; instead of generating the psbt synthetically, we hardcode a fixed psbt so we can hardcode the screenshots.
Performance test suite
… using a hardcoded binary
…Nano S; default to 'nanosp' in tests
… transaction flow on flex/stax
Various simplifications in the code to generate the ragger instructions.
…tead of waiting for the timeout
… remaining flows to use 'accounts' instead of 'wallet policy'
Minor adjustments needed in some tests as the page splitting changed.
Refactoring and Stax UX revamp
int sign_result = sign_transaction(dc, &st, internal_inputs); | ||
|
||
if (!G_swap_state.called_from_swap) { | ||
ui_post_processing_confirm_transaction(dc, sign_result); |
Check warning
Code scanning / CodeQL
Expression has no effect Warning
ui_post_processing_confirm_transaction
Quality Gate failedFailed conditions |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #272 +/- ##
==========================================
- Coverage 84.89% 84.73% -0.17%
==========================================
Files 17 17
Lines 2205 2181 -24
==========================================
- Hits 1872 1848 -24
Misses 333 333
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Happy to see that dropping the support of Nano S get rid of many memory trick.
No description provided.