Commit Graph

535 Commits

Author SHA1 Message Date
pscott
d04dcd8dc6 Add printf for txtype; Fix txtype init 2021-08-04 17:42:09 +02:00
pscott
63467a4145 Update eip1559 test 2021-08-04 17:41:06 +02:00
pscott
448ef70ab1 Fix approval test 2021-08-04 17:00:12 +02:00
pscott
f07a594125 bump to 1.9.0 2021-08-03 12:27:09 +02:00
pscott
2e4ddb8d69 Update plugin sdk 2021-08-03 12:14:05 +02:00
pscott
087af9c0fe Add EIP1559 to changelog 2021-08-03 12:09:42 +02:00
pscott
8d24d91117 Bump version 1.8.9-rc1 2021-08-03 12:08:43 +02:00
pscott
24541034c6 Merge branch 'master' into support_eip1559 2021-08-03 12:01:58 +02:00
pscott
06075c9586 Sign txType byte 2021-07-31 14:21:10 +02:00
pscott
d0a540f683 Fix y_parity signature for eip1559 and eip2930 2021-07-31 13:33:45 +02:00
pscott
aa2415125e Remove parsing of sender_r, sender_s and y_parity 2021-07-31 13:03:56 +02:00
pscott
5951e2c638 Fix changelog 2021-07-28 15:28:12 +02:00
pscott
794ce28fc1 Merge branch 'cleanup' 2021-07-27 12:25:03 +02:00
pscott
544bb0c487 Update plugin sdk 2021-07-27 12:24:46 +02:00
pscott
ee4a865144 Use strlcpy instead of strncpy 2021-07-27 12:24:05 +02:00
pscott
b7110eafe0 update plugin sdk 2021-07-27 12:11:56 +02:00
pscott
a71757e17c Update plugin sdk 2021-07-27 12:10:07 +02:00
Jean-Baptiste Bédrune
174aae45b8 Update Ethereum SDK
Signed-off-by: pscott <scott.piriou@ledger.fr>
2021-07-27 12:09:22 +02:00
Jean-Baptiste Bédrune
f5a41077d3 Enable scan-build
Signed-off-by: pscott <scott.piriou@ledger.fr>
2021-07-27 12:09:22 +02:00
Jean-Baptiste Bédrune
cd78581ffd Fix all the defects identified by Clang Static Analyzer
Some fixes are dirty, but it is a start to enforce scan-build on
every commit.

Signed-off-by: pscott <scott.piriou@ledger.fr>
2021-07-27 12:09:22 +02:00
Jean-Baptiste Bédrune
c27d59d792 Fix last compilation warnings
Signed-off-by: pscott <scott.piriou@ledger.fr>
2021-07-27 12:09:22 +02:00
pscott
6060fa8b16 Update plugin sdk 2021-07-27 11:22:17 +02:00
pscott
e4264eab0c Merge branch 'bsc' 2021-07-27 11:21:39 +02:00
pscott
9f49dc0768 Merge remote-tracking branch 'origin' into bsc 2021-07-27 11:14:12 +02:00
pscott
816df366e1 Merge pull request #175 from LedgerHQ/add_lido
Add lido support
2021-07-27 10:29:51 +02:00
Edouard Merle
6d0f09b4c7 adding missing comma in contract names 2021-07-26 16:15:48 +02:00
TamtamHero
5672cee156 Bump version 1.8.8-rc1 to match current max version on provider 4 2021-07-19 16:15:56 +02:00
Jean P
b8b2f7f524 Apply clang-format to plugin sdk when checking it (#172)
* Add clang-format step before verifying plugin-sdk integrity

* update plugin sdk
2021-07-19 16:13:16 +02:00
pscott
4b42d69b3e Add Lido contracts 2021-07-16 11:50:52 +02:00
TamtamHero
e336a7c153 Repair provideERC20TokenInformation for side chains when using eth app 2021-07-15 12:00:11 +02:00
TamtamHero
46d5b45e9c Bump version 1.8.7 2021-07-09 11:46:52 +02:00
pscott
d541f1f524 Add pointer to msg_sender in Eth_plugin_finalize (#170)
* Add some PRINTF debug statements and fir additional screens init

* Memzero struture and use two pointers less

* Clang-format

* Use ADDRESS_LENGTH where possible; Add printf statements when failing to compare contracts

* clang-format

* Remove 'token1' and 'token2' locals

* Fix typo

* apply clang-format

* Add bip32path to sharedRO for plugins

* Change getEthAddressStringFromKey to accept char instead of uint8_t

* Update ethereum plugin sdk

* Add BYPASS_SIGNATURES compilation option

* Remove bip32path and pathLength from sharedRO; add msg_sender pointer to pluginFinalize.address

* clang format eth_plugin_interface

* Update submodule

* Set address BEFORE making the finalize call

* Update SDK

Co-authored-by: TamtamHero <10632523+TamtamHero@users.noreply.github.com>
2021-07-09 11:46:36 +02:00
jingxu85
5ef3e77820 remove path 44'/60' (#171) 2021-07-09 10:22:54 +02:00
Edouard Merle
de6e226dc6 not always define seed cookie path 2021-07-06 11:47:38 +02:00
TamtamHero
7ec4e8b5b8 Bump version 1.8.6 2021-07-05 11:46:30 +02:00
pscott
b4656c126c Improve plugins visibility, update README (#162)
* Add link to paraswap in plugin doc

* Update readme with new dev portal and paraswap plugin link
2021-07-05 11:03:44 +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
a2d9a8068a 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>
2021-07-02 18:46:23 +02:00
Jean P
ea87a0a646 Use elfs from CI in tests (#167)
* Add Nano X build

* Use CI's build artifacts for CI's tests
2021-07-01 18:27:06 +02:00
pscott
277bd74fab Add 02 preffix to transaction 2021-06-30 16:51:41 +02:00
pscott
5b489f9571 Add folder for eip1559 tests 2021-06-30 14:00:46 +02:00
pscott
1bff0b3b7d Add temp eip1559 test (not working) 2021-06-30 14:00:35 +02:00
TamtamHero
d2907130f2 Add BSC icons 2021-06-29 17:18:21 +02:00
pscott
bb9da691a1 Add bsc to variants 2021-06-29 17:18:20 +02:00
pscott
be59465acf bump to rc2 2021-06-29 17:18:20 +02:00
pscott
c40ea9dae4 Update Changelog 2021-06-29 17:18:19 +02:00
pscott
de3978ca7e Update plugin sdk 2021-06-29 17:18:19 +02:00
pscott
db5fe05902 Bump version to rc1 and add to CHANGELOG 2021-06-29 17:18:19 +02:00
pscott
61e7d17442 Add bsc variant 2021-06-29 17:18:15 +02:00
pscott
032bd7b7ee clang format 2021-06-29 16:07:28 +02:00