Commit Graph

736 Commits

Author SHA1 Message Date
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
Coline
14fb8c87a4 fix: Readme nodeJS version 2022-03-04 15:57:19 +01:00
Coline
38e88b11c7 fix: PR template
- Add another changes includes
2022-03-04 15:57:19 +01:00
Coline
45a82881a3 feat: add auto author assign for pr
- remove checklist in pr template
2022-03-04 15:57:19 +01:00
Coline
ddff3db06e fix: add new link in readme
Signed-off-by: Coline <coline.seguret@ledger.fr>
2022-03-04 15:57:19 +01:00
Coline
d749f3dc32 fix: pr and issue template 2022-03-04 15:57:19 +01:00
Coline
3463deacc9 fix: pr template 2022-03-04 15:57:19 +01:00
Coline
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
Coline
c89f9db92e fix: PR template 2022-03-04 15:57:19 +01:00
Coline
7c66c255ab fix: feature's template 2022-03-04 15:57:19 +01:00
Coline
c1f9093010 docs: template for issue and pr 2022-03-04 15:57:19 +01:00
Coline
647aabb39c docs(README): refactor 2022-03-04 15:57:19 +01:00
Coline Seguret
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édrune
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
lpascal-ledger
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-ledger
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
Alexandre Paillier
4232a8925b Fix crash when signing NFT transactions with no NFT information APDU received 2022-02-15 10:39:29 +01:00
Alexandre Paillier
7a92b65bf7 Fix typo in setPlugin 2022-02-14 18:15:19 +01:00
Alexandre Paillier
858ff08e6e Merge branch 'master' into develop 2022-02-14 17:35:25 +01:00
Edouard Merle
c0b85d27b7 Merge pull request #267 from LedgerHQ/develop_1.9.17
Add Non-Fungible Token (ERC 721 & 1155) support
2022-02-14 17:28:50 +01:00
Edouard Merle
7d9d0fbbc6 fix: build for lns+ 2022-02-14 16:57:08 +01:00
apaillier-ledger
69628230ac Merge pull request #248 from LedgerHQ/apr/bugfix/sdk2_fix_tests_screenshots
Re-generated the tests screenshots with proper bold text
2022-02-10 15:31:55 +01:00
Alexandre Paillier
dfa7ed4013 Re-generated the test reference screenshots
An issue was introduced in 2.0 SDK for LNX, making text that should be
bold not bold.
2022-02-10 15:02:53 +01:00
apaillier-ledger
41a810c61e Merge pull request #246 from LedgerHQ/apr/feature/update_zemu
Update to the latest Zemu framework
2022-02-09 09:21:54 +01:00
Alexandre Paillier
10c0b00933 Updated Starkware test
Removed hacky workaround
2022-02-08 18:31:30 +01:00
Alexandre Paillier
55cc84f65d Updated send ECT test
Removed hacky workaround
2022-02-08 18:31:30 +01:00
Alexandre Paillier
68a16374f6 Updated send BSC test
Removed hacky workaround
2022-02-08 18:31:29 +01:00
Alexandre Paillier
8437cc3fe5 Updated send test
Removed hacky workaround
2022-02-08 18:31:29 +01:00