Commit Graph
484 Commits
Author SHA1 Message Date
pscottandTamtamHero 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 <[email protected]>
2021-07-09 11:46:36 +02:00
jingxu85andGitHub 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
pscottandGitHub 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
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 <[email protected]>

Co-authored-by: Jean P <[email protected]>
2021-07-05 11:01:51 +02:00
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 <[email protected]>
2021-07-02 18:46:23 +02:00
Jean PandGitHub 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
pscottandGitHub 4294c0a1a3 Merge pull request #160 from LedgerHQ/add_tests
Add tests
2021-06-18 15:12:45 +02:00
pscott a484b114c3 Remove usr/include in Makefile 2021-06-18 14:38:57 +02:00
pscott 30e7c25163 Change to ledgerhq ghcr.io 2021-06-18 14:26:20 +02:00
pscott 9621fabea6 Try back ssh in gitmodules 2021-06-18 14:20:11 +02:00
pscott d38805659f Remove env var; hardcode commands to e2e tests 2021-06-18 12:55:22 +02:00
pscott a4a8032fc7 Try to add BOLOS_SDK env 2021-06-18 12:53:34 +02:00
pscott 447dcec7cc Update job name in e2e tests 2021-06-18 12:50:07 +02:00
pscott 213ece71bf Update make commands in e2e tests 2021-06-18 12:48:16 +02:00
pscott 822e2ce16e Update gitmodules 2021-06-18 12:46:51 +02:00
pscott 72c5330b6e Don't compile when e2e testing 2021-06-18 12:43:41 +02:00
pscott 278c7260b2 Ignore yarn-error.log 2021-06-18 12:43:29 +02:00
pscott 533669c75e Remove submodules for e2e test 2021-06-18 12:37:10 +02:00
pscott e15d741647 Switch to ghcr.io 2021-06-18 12:32:37 +02:00
pscott 3408b1643e Run CI on push master or PR master 2021-06-18 12:30:16 +02:00
pscott 9a11d36105 Clang-format main 2021-06-18 12:27:20 +02:00
pscott bd4ee9e620 Add jobs keyword to e2e tests 2021-06-18 11:29:55 +02:00
pscott 7e666de9ae Add zemu test to Makefile 2021-06-18 11:23:37 +02:00
pscott d09dd32e55 Add deposit test; change timeout setting 2021-06-18 11:23:26 +02:00
pscott 13f6a4f949 Add approve test and fix deposit test 2021-06-17 18:54:40 +02:00
pscott 390f383417 Add approve test 2021-06-17 18:36:07 +02:00
pscott 4bc6d5ef40 Fix test for deposit 2021-06-17 17:45:55 +02:00
pscott e5fafae176 Add working tests for send_bsc and send 2021-06-17 17:20:52 +02:00
pscott 225a6788c5 Fix chunk_size test 2021-06-16 15:09:11 +02:00
pscott 00975cea1f Update elfs to ALLOW_DATA 2021-06-16 15:07:32 +02:00
pscott 57fc7febff Add chunk_size failing test 2021-06-16 14:53:34 +02:00
pscott 359a9a584c Update ledgerjs version 2021-06-16 14:52:50 +02:00
pscott 49eb946adc Ignore tests/lib 2021-06-16 14:52:06 +02:00
pscott 4815bc0dda Remove tests/lib 2021-06-16 14:51:50 +02:00
pscott 4165c355b5 Update elfs 2021-06-16 14:50:31 +02:00
pscott c0599d4b43 Update comments and add generic file 2021-06-15 18:20:30 +02:00
pscott fcb16e56bb Add deposit tests 2021-06-15 18:03:30 +02:00
pscott 261848446b Add simple test for S and X 2021-06-15 18:03:30 +02:00
pscott 0b0935a66d Update elfs 2021-06-15 18:03:30 +02:00
pscott 6f5c2e2a33 Add prototype for tests 2021-06-15 18:03:30 +02:00
pscott e0fab32dcd Update gitignore 2021-06-15 18:03:30 +02:00
pscottandGitHub 9a6d371234 Merge pull request #154 from TowoLabs/master
Add Flare Coston icons
2021-06-15 15:22:30 +02:00
pscottandGitHub da480a7a78 Merge pull request #156 from jingxu85/support-theta-chain3
add path 44/60
2021-06-15 15:22:22 +02:00
jingxu85 ae38021ced add path 44/60 2021-06-08 22:27:47 -07:00
pscott fe38eb628a Update plugin sdk for theta and flare 2021-06-08 10:50:41 +02:00
pscott 3ea1c0f888 Bump to 1.8.5 and update Changelog 2021-06-08 10:30:18 +02:00
Edouard Merleandpscott 7b324fff16 fix formatting issue in plugin SDK 2021-06-08 10:25:15 +02:00
pscott 580d3fabcc Bump to 1.8.4 to account for txType fix 2021-06-08 10:25:15 +02:00