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

Sync master branch to 2.2.4 #272

Merged
merged 59 commits into from
Jul 22, 2024
Merged

Sync master branch to 2.2.4 #272

merged 59 commits into from
Jul 22, 2024

Conversation

bigspider
Copy link
Collaborator

No description provided.

sgliner-ledger and others added 30 commits June 3, 2024 14:39
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.
Various simplifications in the code to generate the ragger instructions.
… 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

This expression has no effect (because
ui_post_processing_confirm_transaction
has no external side effects).
Copy link

sonarcloud bot commented Jul 17, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
4.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.73%. Comparing base (74190fb) to head (f17c7fd).

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              
Flag Coverage Δ
unittests 84.73% <100.00%> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@b0l0k b0l0k left a 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.

@bigspider bigspider merged commit acd94a2 into master Jul 22, 2024
285 of 286 checks passed
@bigspider bigspider deleted the release-2-2-4 branch July 22, 2024 15:36
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.

4 participants