Commit Graph
748 Commits
Author SHA1 Message Date
Alexandre Paillier faf2044108 Bump plugin interface version 2022-03-15 14:19:30 +01:00
Lucas PASCAL 55b6f9bc99 [fix] Step condition variable was improperly defined 2022-03-14 15:02:51 +01:00
apaillier-ledgerandGitHub e0002739f0 Merge pull request #276 from LedgerHQ/apr/bugfix/nft_security_review
NFT feature security review
2022-03-14 14:36:17 +01:00
lpascal-ledgerandGitHub d2b2682790 Merge pull request #277 from LedgerHQ/update/SDK_submodule
[add] SDK submodule updated to develop + will now be auto updated
2022-03-14 14:33:14 +01:00
Lucas PASCAL 60656c1b56 [fix] Bad bash syntax in github action 2022-03-14 10:36:17 +01:00
Lucas PASCAL 358fcbd4ee [add] SDK submodule updated to develop + will now be auto updated 2022-03-14 09:55:49 +01:00
lpascal-ledgerandGitHub 780f75a54e Merge pull request #264 from LedgerHQ/feature/sdk-generation
Automatic generation of the plugin SDK
2022-03-11 18:12:55 +01:00
Alexandre Paillier 8739b29338 Updated the NFT Zemu tests 2022-03-09 16:42:02 +01:00
Alexandre Paillier fb28efc012 Removed the helper getNftContractAddress helper function and some NULL checks
Useless since we don't allow NFT signing without the NFT metadata anymore
2022-03-09 16:40:45 +01:00
Alexandre Paillier a26da165df Now prevents NFT signatures without NFT metadata 2022-03-09 16:40:42 +01:00
Alexandre Paillier 853a85205d Now checks if a proper plugin is loaded when receiving NFT metadata 2022-03-09 16:28:23 +01:00
Alexandre Paillier fed91e2261 Removed old os_strcmp function 2022-03-09 15:23:55 +01:00
Alexandre Paillier 7e1c8b14d4 Small refactoring on number of NFT selectors 2022-03-09 15:23:55 +01:00
Alexandre Paillier 23202f6a63 Minimize includes in header files to what they depend on 2022-03-09 15:23:53 +01:00
Alexandre Paillier c548aba364 Unify the include guards accross all header files 2022-03-09 11:52:03 +01:00
Alexandre Paillier 89070cd2be Now only loops through tokens once to match it 2022-03-09 11:52:03 +01:00
Alexandre Paillier 76c7f9dbd8 Fixes the location in memory of the address between nftInfo_t & tokenDefinition_t
Both used as members of the same union, also unifies the type (array of uint8_t)
2022-03-08 16:16:40 +01:00
ColineandColine Seguret 14fb8c87a4 fix: Readme nodeJS version 2022-03-04 15:57:19 +01:00
ColineandColine Seguret 38e88b11c7 fix: PR template
- Add another changes includes
2022-03-04 15:57:19 +01:00
ColineandColine Seguret 45a82881a3 feat: add auto author assign for pr
- remove checklist in pr template
2022-03-04 15:57:19 +01:00
ColineandColine Seguret ddff3db06e fix: add new link in readme
Signed-off-by: Coline <[email protected]>
2022-03-04 15:57:19 +01:00
ColineandColine Seguret d749f3dc32 fix: pr and issue template 2022-03-04 15:57:19 +01:00
ColineandColine Seguret 3463deacc9 fix: pr template 2022-03-04 15:57:19 +01:00
ColineandColine Seguret 0313732d02 fix: typo not install project by tests 2022-03-04 15:57:19 +01:00
Coline Seguret 36671d91f6 fix: typo
requirement -> requirements
2022-03-04 15:57:19 +01:00
ColineandColine Seguret c89f9db92e fix: PR template 2022-03-04 15:57:19 +01:00
ColineandColine Seguret 7c66c255ab fix: feature's template 2022-03-04 15:57:19 +01:00
ColineandColine Seguret c1f9093010 docs: template for issue and pr 2022-03-04 15:57:19 +01:00
ColineandColine Seguret 647aabb39c docs(README): refactor 2022-03-04 15:57:19 +01:00
Coline SeguretandGitHub 4c6ecf8b28 Merge pull request #244 from LedgerHQ/refacto/chain-env-makefile
Refacto(Makefile): chain environnement into subdirectories
2022-02-25 10:37:03 +01:00
Alexandre Paillier ab1270dbd9 Makefile now gets the lists of supported chains automatically 2022-02-24 18:26:25 +01:00
Jean-Baptiste BédruneandGitHub 4903f37b94 Merge pull request #243 from LedgerHQ/fix-network-functions
Define better prototypes and types
2022-02-22 14:15:09 +01:00
Jean-Baptiste Bédrune 0d9c868a77 Set const qualifier for input buffers for copy functions 2022-02-22 00:08:49 +01:00
Jean-Baptiste Bédrune e6c501749e Update Ethereum SDK 2022-02-21 23:56:08 +01:00
Jean-Baptiste Bédrune ed4e10628a Change type of output length in amountToString
Defining out_buffer_size as uint8_t triggers warnings with static
analysers when sizeof() is used on the output buffer.

There is no reason to use uint8_t here.
2022-02-21 23:56:08 +01:00
Jean-Baptiste Bédrune 89fddf3ef8 Set const qualifiers in few fields used by the plugin interface 2022-02-21 23:46:54 +01:00
Jean-Baptiste Bédrune 458ef9af52 Define better prototype for "network" functions 2022-02-21 23:46:54 +01:00
Lucas PASCAL b6167cae8a [fix] Review fixes 2022-02-17 08:58:02 +01:00
Lucas PASCAL 0864a4f282 [add] Job to generate a new SDK and creating a commit in SDK repository 2022-02-17 08:57:37 +01:00
lpascal-ledgerandGitHub bf9bfb3ee7 Merge pull request #231 from LedgerHQ/fix/printable_fees
[fix] Get printable amount handle should not parse configuration for ticker and decimal if the amount is a fee
2022-02-15 15:21:56 +01:00
apaillier-ledgerandGitHub ceed2ca530 Merge pull request #247 from LedgerHQ/apr/bugfix/no_nft_info_crash
Fix NFT transaction crash
2022-02-15 15:07:17 +01:00
Alexandre Paillier ce2df92741 New common function to get the NFT contract address 2022-02-15 14:33:55 +01:00
Alexandre Paillier 2e63a428b2 Removed useless header include in shared_context.h
Could easily create a circular header dependency
2022-02-15 14:13:55 +01:00
Alexandre Paillier b3a36f9b11 Added new tests for ERC-1155 2022-02-15 14:13:48 +01:00
Lucas PASCAL 1e988e0904 [revert] Removing temporary application name variant 2022-02-15 11:46:19 +01:00
Lucas PASCAL 1f1e472904 [add] Bump version for test release 2022-02-15 11:46:19 +01:00
Lucas PASCAL 1b24fc2eca [fix] Get printable amount handle should not parse configuration for ticker and decimal if the amount is a fee 2022-02-15 11:46:19 +01:00
Alexandre Paillier 9a4d193de2 Added new tests for ERC-721 2022-02-15 10:39:34 +01:00
Alexandre Paillier 66ffbc42d4 Unify the terminology for approval screens between ERC-721 & 1155 2022-02-15 10:39:34 +01:00
Alexandre Paillier 6bc99e8b98 Removed NFT transactions unused screens & fixed ERC-1155 setApproveForAll number of screens 2022-02-15 10:39:33 +01:00