Commit Graph

724 Commits

Author SHA1 Message Date
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
Alexandre Paillier
399a95a464 Updated ERC 721 test
Removed hacky workaround. Also now properly waits for the promise of the last APDU.
2022-02-08 18:31:09 +01:00
Alexandre Paillier
6be9b49228 Updated ERC 1155 test
Removed hacky workaround. Also now properly waits for the promise of the last APDU.
2022-02-08 18:29:59 +01:00
Alexandre Paillier
c2aadf0aad Updated EIP 1559 test
Removed hacky workaround
2022-02-08 17:54:20 +01:00
Alexandre Paillier
675e72edec Updated chainid test
Removed hacky workaround
2022-02-08 17:47:12 +01:00
Alexandre Paillier
e51be2f041 Updated blind compound deposit test
Removed hacky workaround
2022-02-08 17:35:05 +01:00
Alexandre Paillier
1417120b4f Updated approve test
Removed hacky workaround
2022-02-08 17:35:03 +01:00
Alexandre Paillier
74fcac61aa Updated to the latest Zemu framework version 2022-02-08 17:24:04 +01:00
Edouard Merle
617b60483f fix: build for lns+ 2022-02-08 16:43:45 +01:00
Edouard Merle
db3eddcd3d fix: formatting in sdk 2022-02-08 16:43:40 +01:00
lpascal-ledger
9d26ccfee0 Merge pull request #238 from LedgerHQ/ci/better_ci
Ci/better ci
2022-02-03 16:57:50 +01:00
Coline
75b843b51c refacto(Makefile): chain environnement into subdirectories
- Allows you to more easily add a new chain
    - More maintainable
    - More clarity in the makefile
2022-02-03 14:25:47 +01:00
apaillier-ledger
4b55157c3e Merge pull request #239 from LedgerHQ/fix/zemu_tests
Fix automated tests with Zemu
2022-02-01 14:30:44 +01:00