Commit Graph

366 Commits

Author SHA1 Message Date
Jean P
c4ecc81ed1 Merge pull request #133 from LedgerHQ/fix_security_and_display_issues
Display Validator address, add bound to withdrawal derivation index, check deposit contract addresss.
2021-05-05 00:10:39 +02:00
TamtamHero
51549ca1d0 Bump version 1.7.1 2021-05-05 00:07:18 +02:00
TamtamHero
ebc28881f7 bytes to bytes 2021-05-04 23:49:03 +02:00
pscott
3a1cd33f74 Fix segv 2021-05-04 13:41:43 +02:00
pscott
7c9b47dea5 Merge branch 'fix_security_and_display_issues' of github.com:LedgerHQ/app-ethereum into fix_security_and_display_issues 2021-05-04 13:28:33 +02:00
pscott
0547bc8a02 Clang format 2021-05-04 13:28:10 +02:00
TamtamHero
e29813bcb9 Apply clang-format 2021-05-04 12:20:49 +02:00
pscott
76d982a539 Merge branch 'fix_security_and_display_issues' of github.com:LedgerHQ/app-ethereum into fix_security_and_display_issues 2021-05-04 12:15:08 +02:00
pscott
f250865bcb Merge branch 'master' of github.com:LedgerHQ/app-ethereum into fix_security_and_display_issues 2021-05-04 12:14:44 +02:00
pscott
a88ed3de5d Do not used global sha3 for future-proofness 2021-05-04 12:11:18 +02:00
pscott
257ff60b9b Fix typo 2021-05-04 12:06:16 +02:00
Jean P
6cc785e34b Merge pull request #131 from LedgerHQ/eip_2718
Support EIP2718 (transaction types) and EIP2930 (access list transactions) and display ChainID
2021-05-04 11:54:30 +02:00
TamtamHero
ce3609000b Bump version 1.7.0 2021-04-30 19:50:01 +02:00
Jean P
71d0810b8c Merge pull request #137 from LedgerHQ/add-wallet-id
Add wallet ID feature for Nano X
2021-04-30 19:44:10 +02:00
TamtamHero
baae0d7569 Add wallet ID feature for Nano X 2021-04-30 19:40:58 +02:00
pscott
c7ec0c7dfa Use %d flag instead of %u 2021-04-28 11:39:47 +02:00
pscott
7f0afc764a Change error code description 2021-04-28 10:48:37 +02:00
pscott
ebffb48cd3 Use snprintf instead of u32_to_str 2021-04-28 10:48:18 +02:00
pscott
653e5e667b Update INDEX_MAX to 2^16 2021-04-27 18:00:38 +02:00
pscott
f893637d71 Clang-format 2021-04-27 10:37:22 +02:00
pscott
a6945c42b2 Fix return values from enums 2021-04-27 10:36:22 +02:00
pscott
e4d66535ed Use equal for comparison with unsuccesful variant 2021-04-24 12:15:32 +02:00
pscott
6cd4b6e2aa Revamp return results of plugins 2021-04-24 12:14:36 +02:00
pscott
dcacda44c1 Revert changes to seteth2withdrawalindex 2021-04-24 12:04:41 +02:00
pscott
59ce2b6562 Uncomment os_perso_derive 2021-04-24 12:02:47 +02:00
pscott
c006233a78 Fix enum value for UNAVAILABLE 2021-04-24 12:02:25 +02:00
pscott
0af10691eb Verify return value of plugin 2021-04-23 19:15:30 +02:00
pscott
fe2aab08a1 Add comment regarding arbitrary value of INDEX_MAX 2021-04-22 15:53:09 +02:00
pscott
d4bd5cac89 Fix compilation error 2021-04-22 15:06:12 +02:00
pscott
550fc86ba8 Remove INDEX_MAX from withdrawal_index.h ; set limit to 2^19 2021-04-22 14:57:30 +02:00
pscott
18822f9462 Move deposit_address to eth2_deposit_parameters_t 2021-04-22 14:39:46 +02:00
pscott
a6a196b62d Remove comment of os_perso_derive 2021-04-22 14:29:27 +02:00
pscott
e76a7aa5ca Clang please 2021-04-22 14:08:02 +02:00
pscott
3fd3b2e46d clang-format 2021-04-22 14:05:39 +02:00
pscott
31ad5e3431 Remove comments 2021-04-22 14:04:09 +02:00
pscott
a4dcec436f Clang-format 2021-04-22 14:01:52 +02:00
pscott
b899edfaaf Display validator address 2021-04-22 13:57:09 +02:00
pscott
d1f5cd0286 Fix destinationLen computing 2021-04-22 11:40:12 +02:00
pscott
4c067f2a43 Add check for deposit contract address 2021-04-22 11:38:21 +02:00
pscott
6ff2172f1b Add upper bound for withdrawal index 2021-04-22 10:08:05 +02:00
pscott
d5b32af95e Clang format 2021-04-21 17:24:54 +02:00
pscott
11701b6fa2 Remove debugging printf 2021-04-21 17:19:02 +02:00
pscott
1a1a3198f9 Remove debugggin printf 2021-04-21 17:17:21 +02:00
pscott
704c34a5d5 Rename to PARSING_IS_DONE 2021-04-21 17:15:43 +02:00
pscott
cac2b95136 Remove printf when parsing legacy tx 2021-04-21 17:11:51 +02:00
pscott
fa0dacb447 Remove printf when parsing chainID 2021-04-21 17:10:58 +02:00
pscott
d701f75197 Add comments to u32_from_BE in header file 2021-04-21 17:09:45 +02:00
pscott
dafdc404ac Add strict parameter to u32_from_BE 2021-04-21 17:07:16 +02:00
pscott
81ec019242 Re-enable plugins 2021-04-21 17:04:09 +02:00
pscott
970f0355dd Add support for EIP2718 (enveloppe) and EIP2930 (acess list tx); Display chain ID when different from 1 (ethereum mainnet) 2021-04-21 16:56:17 +02:00