pscott
c8bad8b2f8
Remove debug prints; secure copy of chainid into v
2021-08-06 21:07:22 +02:00
pscott
c5fb10dd47
Remove check for v length
2021-08-06 15:20:58 +02:00
pscott
d04dcd8dc6
Add printf for txtype; Fix txtype init
2021-08-04 17:42:09 +02:00
pscott
24541034c6
Merge branch 'master' into support_eip1559
2021-08-03 12:01:58 +02:00
pscott
aa2415125e
Remove parsing of sender_r, sender_s and y_parity
2021-07-31 13:03:56 +02:00
pscott
b646cf1b28
Fix compilation warnings ( #159 )
...
* Fix easy warnings for sdk 2.0
* Add attribute unused to bagl_elemt_t in callback functions
* Add attribute unused to io_event function
* Clang-format
* Use elfs from CI in tests (#167 )
* Add Nano X build
* Use CI's build artifacts for CI's tests
* Add network display (#152 )
* Add network name display instead of chainID
* Add display of correct ticker along with network
* Add FTM
* Clang-format
* Add comment in python script
* Rename SIZE_MAX to MAX_SIZE
* Change %u to %d in printf
* Remove needless PIC
* Update comment about get_chain_id()
* Update example script to follow EIP155
* Remove unused PIC calls
* Add whitespace between ticker and amount when using EIP155
* Remove decimal config per network, set back 18 everywhere
* Adapt u32_from_BE to swith cases
* Remove chainid from signTx.py
* Switch to switch in stead of if in get_chain_id
* Revert "Remove chainid from signTx.py"
This reverts commit 454e09f280ec3e3ec1c7d7cc0027247ef4390088.
* Change Ethereum chainid to 1
* Rename chainid_step to network_step
* Adapt finalizeParsing to new chainid for Ethereum
* Update snapshots
* clang-format
* Fix network display logic for clones
* Fix tests
* Add clone tests
Co-authored-by: TamtamHero <10632523+TamtamHero@users.noreply.github.com >
Co-authored-by: Jean P <10632523+TamtamHero@users.noreply.github.com >
2021-07-05 11:01:51 +02:00
pscott
032bd7b7ee
clang format
2021-06-29 16:07:28 +02:00
pscott
0294c5e60f
Remove detailed fees display
2021-06-29 16:04:38 +02:00
pscott
0bff1de52c
Add setting to display detailed fees
2021-06-29 16:04:38 +02:00
pscott
bb6f65ad75
Add comment, remove debug
2021-06-29 16:04:38 +02:00
pscott
df4fe3c0dd
Implement support for EIP1559; No settings
2021-06-29 16:04:38 +02:00
pscott
27b380ff0a
Add a check for transaction type when checking for end of parsing
2021-05-20 20:18:48 +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
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
pscott
5dd99c3d48
Move TxType parsing in cmd_signTx and add 0x6501 error
2021-04-15 17:59:41 +02:00
pscott
6ccc36fa39
Move txType parsing outside of forloop
2021-04-15 17:08:09 +02:00
pscott
99950a396c
Add max and min values and restrict bounds
2021-04-15 16:19:12 +02:00
pscott
9876999b8d
Enumerate through variants
2021-04-15 16:13:42 +02:00
pscott
9e6610c56a
Fix debug messages
2021-04-15 15:42:46 +02:00
pscott
65ac116e91
Restrict txType to be within enum bounds
2021-04-15 15:38:38 +02:00
pscott
9c20c54013
Apply clang format
2021-04-15 15:37:26 +02:00
pscott
3faa172ec2
Add MAX and MIN tx types
2021-04-15 15:36:21 +02:00
pscott
48562ccfc7
Add TransactionType and adapt parser to parse them
2021-04-15 15:25:46 +02:00
Jean P
b09ba946d5
Merge pull request #127 from LedgerHQ/fix_warning_1.6
...
Fix compilation warnings for 1.6.1-2 and NanoX sdk
2021-03-25 12:42:12 +01:00
pscott
9a798e3662
Fix warnings for nanox sdk
2021-03-24 16:32:08 +01:00
pscott
b2d5b85a2f
Add nonce display settings ; nonce is always displayed
2021-02-05 17:36:54 +01:00
TamtamHero
17bd07a346
Apply clang-format
2020-12-01 16:20:13 +01:00
BTChip github
d43f7f6698
Cleanup os_mem* functions
2020-11-30 18:22:17 +01:00
Olivier Hériveaux
9d4a20c290
Minor code improvement
...
Using MIN instead of ternary operator for better code in ethUstream.c.
2020-04-14 19:43:20 +02:00
BTChip github
658164ae18
Remove CX_COMPLIANCE_141
2020-01-18 12:46:37 +01:00
Clément Péron
f75adced1d
Use correct include headers
...
Some headers are overkilled, and the order should be
/* LibC */
include <stdxxx.h>
/* Framework */
include <os.h>
/* Local */
include "EthUstream.h"
2019-01-16 11:10:35 +01:00
Clément Péron
649d5ebe26
update header license
2019-01-16 11:10:35 +01:00
Clément Péron
056dc0099e
Remove trailing spaces
...
find -name '*.c' -o -name '*.h' -o -name 'Makefile' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2018-12-19 17:05:59 +01:00
BTChip github
adfcb0e6ec
Display the data being signed
2018-07-31 19:59:59 +02:00
BTChip github
8260268b02
Supports 32 bits chainId for signature and matching - the returned V will be wrong and has to be recomputed by the client
2018-07-28 17:36:12 +02:00
BTChip github
c276531c83
Update to U2F managed SDK - add forks
2018-07-27 21:02:24 +02:00
BTChip
7083e3bc74
Blue compliant debugging
2017-01-22 18:25:42 +01:00
BTChip
54ea8ac82e
EIP 155 support. Free up some RAM for U2F buffers
2016-11-25 09:10:04 +01:00
BTChip
533c14adc2
Remove copypasta invalid check for contract data size
2016-10-17 23:36:29 +02:00
BTChip
893c9820e4
Handle to: destination length to detect a null contract address
2016-10-17 23:35:55 +02:00
BTChip
0eb82c6f98
Cleanup, adjust derivation API to API level 5, adjust linker script and NVRAM location, move to internal SHA3 API, fix address checksum
2016-08-12 15:53:40 +02:00
BTChip
04deca3dad
Nano S release
...
Build for Blue SDK 1.2 / Nano S 1.0 release
Nano S UI
2016-07-31 09:36:00 +02:00
BTChip
3e3b9dcc6a
Initial import
2016-06-01 21:41:29 +02:00