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

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    e043a15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1df9d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bdb02b View commit details
    Browse the repository at this point in the history
  4. manifest: add flex support

    sgliner-ledger authored and bigspider committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    5b29711 View commit details
    Browse the repository at this point in the history
  5. Tests: update snapshots

    sgliner-ledger authored and bigspider committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    348d917 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f1cad11 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #256 from LedgerHQ/sgl/flex-porting

    Sgl/flex porting
    bigspider authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    e589d75 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. fix-txmaker

    bigspider committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    e9d3a4b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Merge pull request #260 from LedgerHQ/fix-txmaker

    Fix the txmaker test util
    bigspider authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    ec0ca4a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Add AUTOAPPROVE_FOR_PERF_TESTS command line option to Makefile

    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.
    bigspider committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    41f5254 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    75fa3e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    8598837 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9444356 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30967e5 View commit details
    Browse the repository at this point in the history
  4. Delete legacy tests using the txmaker

    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.
    bigspider committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b380c9b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bcbbfa3 View commit details
    Browse the repository at this point in the history
  6. Add psbt and screenshot for test_sign_psbt_singlesig_large_amount

    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.
    bigspider committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    02767c2 View commit details
    Browse the repository at this point in the history
  7. Update flex screenshots

    bigspider committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    50e554b View commit details
    Browse the repository at this point in the history
  8. Merge pull request #261 from LedgerHQ/perftests

    Performance test suite
    bigspider authored Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4bc144a View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    034a1f2 View commit details
    Browse the repository at this point in the history
  2. Tests for the legacy app need to still be done on Nano S, as they are…

    … using a hardcoded binary
    bigspider committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3bd5a56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e3ed81 View commit details
    Browse the repository at this point in the history
  4. Delete Nano S icon

    bigspider committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f14331d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e50996 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    42ddd2a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    16c2ce0 View commit details
    Browse the repository at this point in the history
  8. Removed all code paths for TARGET_NANOS; deleted test code targeting …

    …Nano S; default to 'nanosp' in tests
    bigspider committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    90f8f29 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8336f0a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e4f880e View commit details
    Browse the repository at this point in the history
  11. Fix sonarcloud build

    bigspider committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    fd0b095 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8d9309f View commit details
    Browse the repository at this point in the history
  13. Nit from code review

    Co-authored-by: François Beutin <[email protected]>
    bigspider and fbeutin-ledger authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3d66a7d View commit details
    Browse the repository at this point in the history
  14. Merge pull request #262 from LedgerHQ/goodbye-nanos

    Remove Nano S target
    bigspider authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    1a5b170 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Split process_outputs into two separate preprocess_outputs and displa…

    …y_external_outputs functions
    bigspider committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    7e4acf4 View commit details
    Browse the repository at this point in the history
  2. Add simplified transaction validation on devices with a large screen …

    …using NBGL.
    
    If a transaction has only a single non-change output, then we can fit the
    "Amount", "To" and "Fees" fields in a single screen.
    bigspider committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    721ec16 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Simplify and refactor swap code.

    By caching the first few external outputs during output preprocessing, we can greatly
    simplify the handling of the swap-related code, and the simplified UX for a single
    external output.
    
    This also allows to move all the swap-related checks in a single function.
    Finally, by moving all the checks not related to user approval out of show_alerts
    and display_output, we can omit calling these functions at all during swaps.
    bigspider committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    e2a1e18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ccbf62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    705f4d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    6c2be42 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Update self-transfer screen; support self-transfers in the simplified…

    … transaction flow on flex/stax
    bigspider committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d239361 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Updated sign_psbt tests to reflect the new UX.

    Various simplifications in the code to generate the ragger instructions.
    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    aff17b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d754f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    622b04e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb59e60 View commit details
    Browse the repository at this point in the history
  5. Show the 'Processing...' spinner immediately when signing starts, ins…

    …tead of waiting for the timeout
    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    81f6efd View commit details
    Browse the repository at this point in the history
  6. Remove obsolete code

    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c0ffdb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a03429b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    128786b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    783aa15 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    67f4135 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4023ff8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b1f0e0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1852840 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    13cca55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9c355d View commit details
    Browse the repository at this point in the history
  3. Update address verification flow to use the standard NBGL api; switch…

    … remaining flows to use 'accounts' instead of 'wallet policy'
    bigspider committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    0886412 View commit details
    Browse the repository at this point in the history
  4. Update ragger snapshots

    bigspider committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a314da7 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Update Stax snapshots to API level 21

    Minor adjustments needed in some tests as the page splitting changed.
    bigspider committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    40c3623 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #270 from LedgerHQ/revamp

    Refactoring and Stax UX revamp
    bigspider authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f17c7fd View commit details
    Browse the repository at this point in the history