-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from LedgerHQ/develop
Align master with P1
- Loading branch information
Showing
666 changed files
with
4,323 additions
and
2,824 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Checklist | ||
<!-- Put an `x` in each box when you have completed the items. --> | ||
- [ ] App update process has been followed <!-- See comment below --> | ||
- [ ] Target branch is `develop` <!-- unless you have a very good reason --> | ||
- [ ] Application version has been bumped <!-- required if your changes are to be deployed --> | ||
|
||
<!-- Make sure you followed the process described in https://developers.ledger.com/docs/device-app/deliver/maintenance before opening your Pull Request. | ||
Don't hesitate to contact us directly on Discord if you have any questions ! https://developers.ledger.com/discord --> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
name: Swap feature tests | ||
name: Swap functional tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
job_functional_tests: | ||
uses: functori/app-exchange/.github/workflows/reusable_swap_functional_tests.yml@ebc5932d939e2bad5eaf3d5e316626169da6ff23 | ||
uses: LedgerHQ/app-exchange/.github/workflows/reusable_swap_functional_tests.yml@develop | ||
with: | ||
repo_for_exchange: 'functori/app-exchange' | ||
branch_for_exchange: 'ajinkyaraj-23@display-source-field' | ||
branch_for_exchange: 'develop' | ||
branch_for_tezos: ${{ github.ref }} | ||
run_for_devices: '["nanos", "nanosp", "stax"]' | ||
test_filter: '"tezos_new"' | ||
repo_for_tezos: ${{ github.repository }} | ||
test_filter: '"tezos"' |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
/* Tezos Ledger application - Some common primitives and some command handlers | ||
TODO: split this file (apdu primitives and apdu handlers) | ||
Copyright 2023 Nomadic Labs <[email protected]> | ||
Copyright 2023 Trilitech <[email protected]> | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
/* Tezos Ledger application - Some common primitives and some command handlers | ||
TODO: split this file (apdu primitives and apdu handlers) | ||
Copyright 2023 Nomadic Labs <[email protected]> | ||
With code excerpts from: | ||
|
@@ -82,11 +80,25 @@ | |
* | ||
*/ | ||
|
||
typedef void(tz_handler)(command_t *); | ||
typedef void(tz_handler)(command_t *cmd); | ||
typedef tz_handler *tz_handler_t; | ||
|
||
tz_handler handle_unimplemented; | ||
tz_handler handle_apdu_version; | ||
tz_handler handle_apdu_git; | ||
tz_handler handle_unimplemented; /// handler for unknown commands | ||
tz_handler handle_apdu_version; /// handle version enquiry apdu | ||
tz_handler handle_apdu_git; /// handle git commit enquiry apdu | ||
/** | ||
* @brief Function to handle apdu request for public key. The public key is | ||
* derived only once and stored in the RAM, in order to avoid repeated | ||
* derivation calculations. This function can be called with or without | ||
* prompt. | ||
* | ||
*/ | ||
tz_handler handle_apdu_get_public_key; | ||
/** | ||
* @brief Parse the received command and prompt user for appropriate action. | ||
* Triggers blindsigning and/or expert mode workflows based on transaction | ||
* involved. Stream based parser helps decode arbitararily large transaction, | ||
* screen by screen. | ||
* | ||
*/ | ||
tz_handler handle_apdu_sign; |
Oops, something went wrong.