Commit Graph

417 Commits

Author SHA1 Message Date
pscott
b651f530be Put externalPluginIsSet as its own global; initialize it at launch 2021-06-08 10:24:51 +02:00
pscott
0de6e1011a Add 6503 error for plugin error 2021-06-08 10:24:51 +02:00
pscott
6cfc28667a Update plugin sdk 2021-06-08 10:24:51 +02:00
pscott
5fe6eb1d94 Add defines for SHARED_CTX_FIELD 1 and 2 2021-06-08 10:24:51 +02:00
pscott
8592a22542 Clang-format 2021-06-08 10:24:51 +02:00
pscott
3b6fd0d169 Undo testing commit 2021-06-08 10:24:51 +02:00
pscott
632e6b3233 Properly handle return value of eth_plugin_call 2021-06-08 10:24:51 +02:00
pscott
47f00cc910 Use ADDRESS_LENGTH 2021-06-08 10:24:51 +02:00
pscott
d029e9f635 Print ticker only if it's present 2021-06-08 10:24:51 +02:00
pscott
6b309c2676 Add printf and adapt logic for provideToken 2021-06-08 10:24:51 +02:00
pscott
4780893ac5 Put back os_perso_derive_eip2333 in getEth2PublicKey 2021-06-08 10:24:51 +02:00
pscott
9cf5be8724 Increase alias size for plugin 2021-06-08 10:24:51 +02:00
TamtamHero
f6a4c61f3c Make erc20 approval for known contracts more generic and simple
+ No need to provide additional ERC20 definition anymore
+ Simpler code
+ More generic
= Still not scalable
- Takes a bit more space than the previous solution
2021-06-08 10:24:51 +02:00
TamtamHero
31716d8280 Update plugin-sdk 2021-06-08 10:24:51 +02:00
TamtamHero
a54b4bda1d Fix alignment access issue on nano S 2021-06-08 10:24:51 +02:00
TamtamHero
ec1a0d1128 test key + disable bls sigs 2021-06-08 10:24:51 +02:00
TamtamHero
e2fa7ccaf9 Increase size allocate to plugin context from 96 to 160 bytes 2021-06-08 10:24:51 +02:00
TamtamHero
82bf81cca6 Remove dead code + expand allzeroes usage to bigger integers 2021-06-08 10:24:51 +02:00
TamtamHero
02ec83233b Update plugin-sdk submodule 2021-06-08 10:24:51 +02:00
TamtamHero
e80207cf6f Add uint256_to_decimal to replace tostring256
TODO: replace tostring256 everywhere
2021-06-08 10:24:51 +02:00
TamtamHero
40664a65f1 Fix issues due to base64(contractAddr) removal 2021-06-08 10:24:51 +02:00
TamtamHero
9541b2755c Update ethereum-plugin-sdk submodule 2021-06-08 10:24:51 +02:00
pscott
a05ac69808 clang-format 2021-06-08 10:24:51 +02:00
pscott
5fd27ff5ca Use INT256_LENGTH and ADDRESS_LENGTH define 2021-06-08 10:24:51 +02:00
TamtamHero
0bd5fa717e Add Ledger signature checking for external plugins 2021-06-08 10:24:51 +02:00
TamtamHero
46ebe6320a Auto build ethereum-plugin-sdk 2021-06-08 10:24:51 +02:00
TamtamHero
11d52836f8 Add ethereum-plugin-sdk submodule 2021-06-08 10:24:51 +02:00
TamtamHero
4539f9d933 Accept to be launched as Ethereum from remote app 2021-06-08 10:24:50 +02:00
TamtamHero
f096e91690 Add contract address and selector to setExternalPlugin 2021-06-08 10:24:50 +02:00
TamtamHero
93083ecb4b Reset tmpCtx entirely 2021-06-08 10:24:50 +02:00
TamtamHero
50b876ff6a Remove automatic plugin search for base64(contract_addr) 2021-06-08 10:24:50 +02:00
TamtamHero
b821c0d8a7 Add setExternalPlugin command 2021-06-08 10:24:50 +02:00
Salvatore Ingala
fbbc11a54a Fix typo in CHANGELOG 2021-06-02 16:51:43 +02:00
Salvatore Ingala
8ab2279a9b Version bump 1.7.9; update CHANGELOG 2021-06-02 16:45:52 +02:00
Salvatore Ingala
bf0e6f340e Merge pull request #153 from jingxu85/support-theta-chain2
signed commit with icons
2021-06-02 16:33:07 +02:00
jingxu85
e5d202d895 signed commit with icons 2021-06-01 10:31:54 -07:00
Markus Alvila
073f586c98 Add support for Flare Network (FLR) (#148)
Signed-off-by: RareData <44319370+RareData@users.noreply.github.com>
2021-06-01 11:49:39 +02:00
pscott
4fb45e3b56 Bump to v1.7.8, update CHANGELOG 2021-05-20 20:21:42 +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
720f8cd65b Bump to 1.7.7 2021-05-19 09:50:37 +02:00
pscott
06e40c154a Bump to v1.7.6 2021-05-14 20:51:49 +02:00
Salvatore Ingala
ecbf1b677a Merge pull request #140 from LedgerHQ/fix_stark_firmware_v2
Fix stark firmware v2
2021-05-10 08:41:49 +02:00
BTChip github
a942f64331 Bump version 2021-05-09 21:43:06 +02:00
BTChip github
cf0a133e68 Interim fix for different cx_ecfp_scalar_mult behaviour in firmware v2 2021-05-09 21:42:51 +02:00
TamtamHero
a854dd3e91 Bump version 1.7.4 2021-05-06 12:43:40 +02:00
pscott
6d3d4349a6 Initialize plugin result to unavailable (#139)
* Initialize plugin result to unavailable

* Clang format
2021-05-06 12:39:27 +02:00
TamtamHero
e23ca3942a Bump version 1.7.3 2021-05-05 12:13:41 +02:00
Jean P
3cad04fe74 Merge pull request #138 from LedgerHQ/add-missing-includes
Add missing includes
2021-05-05 12:09:23 +02:00
Edouard Merle
bad49dc875 enable ETH2 for nanos 2021-05-05 12:06:59 +02:00
Edouard Merle
62485a0876 adding missing ux includes 2021-05-05 12:06:55 +02:00