Commit Graph

1747 Commits

Author SHA1 Message Date
Alexandre Paillier
ae486e9e53 Can now feed the EIP-712 UI value buffer from multiple data (APDU) chunks
Also fixes EIP-712 bytes formatting for values longer than the display buffer, it would only show "..." (introduced by aa38ee995)
2024-06-20 11:32:09 +02:00
apaillier-ledger
3eda3d410b Merge pull request #595 from LedgerHQ/feat/apa/permit_amount_filtering
Permit (ERC-2612) amount-join filtering
2024-06-20 11:01:11 +02:00
Alexandre Paillier
a95e690143 Ragger tests 2024-06-20 10:42:31 +02:00
Alexandre Paillier
4057aa3183 Client support 2024-06-20 10:40:00 +02:00
Alexandre Paillier
05ddb70e7f Can now handle amount-join EIP-712 filtering on Permit (ERC-2612) messages 2024-06-20 10:40:00 +02:00
Alexandre Paillier
cabdcd5d5d Updated APDU documentation 2024-06-20 10:39:59 +02:00
Alexandre Paillier
51ddfe537d New function to get asset index by address 2024-06-20 10:39:58 +02:00
Charles-Edouard de la Vergne
6d6f7c740c Merge pull request #545 from LedgerHQ/cev/add_sender_field
B2CA-1522: Add sender field in transaction
2024-06-20 10:37:16 +02:00
Charles-Edouard de la Vergne
48553f69c9 Update snapshots 2024-06-20 10:18:50 +02:00
Alexandre Paillier
e503373411 Fixes 2024-06-20 08:58:45 +02:00
Charles-Edouard de la Vergne
18889d667b Change fields order presentation 2024-06-18 11:58:10 +02:00
Charles-Edouard de la Vergne
273dd95937 Add 'sender' field to review screens 2024-06-18 11:58:09 +02:00
François Beutin
76e8690a68 Merge pull request #590 from LedgerHQ/fbe/add_check_sdk_workflow
Add CI workflow to ensure ethereum SDK is up to date
2024-05-29 08:50:26 +02:00
Francois Beutin
e7a1ac3558 Add CI workflow to ensure ethereum SDK is up to date 2024-05-28 18:42:50 +02:00
François Beutin
a5410a9a63 Merge pull request #591 from LedgerHQ/fbe/update_ethereum-plugin-sdk
Update ethereum-plugin-sdk
2024-05-28 18:42:08 +02:00
Francois Beutin
78da4f424a Update ethereum-plugin-sdk 2024-05-28 18:39:47 +02:00
François Beutin
2095776a3f Merge pull request #574 from LedgerHQ/fbe/remove_ETH_PLUGIN_RESULT_OK_ALIAS
Remove deprecated ETH_PLUGIN_RESULT_OK_ALIAS from plugin API
2024-05-28 17:40:51 +02:00
Francois Beutin
5a756975c3 Remove deprecated ETH_PLUGIN_RESULT_OK_ALIAS from plugin API 2024-05-28 17:40:14 +02:00
Charles-Edouard de la Vergne
07a488e25f Merge pull request #589 from LedgerHQ/cev/update_flex_config
Update flex config
2024-05-28 14:38:15 +02:00
Charles-Edouard de la Vergne
59b6430d9e Update Flex icon 2024-05-28 14:21:51 +02:00
Charles-Edouard de la Vergne
f1ca412837 Fix Flex cfg for CodeQL 2024-05-28 14:21:50 +02:00
apaillier-ledger
2d6a25b3d4 Merge pull request #583 from LedgerHQ/feat/apa/eip712_improvements
EIP-712 filtering improvements
2024-05-28 11:03:54 +02:00
Alexandre Paillier
c639207d6c Add date/time ragger tests 2024-05-24 17:36:38 +02:00
Alexandre Paillier
b111de39e1 Add date/time support in client 2024-05-24 17:36:38 +02:00
Alexandre Paillier
2fdb3bcb34 Date/Time EIP-712 filtering implementation 2024-05-24 17:36:38 +02:00
Alexandre Paillier
d6a533b720 Add amount-join ragger tests 2024-05-24 17:36:34 +02:00
Alexandre Paillier
1a73a2ebfc Add amount-join support in client
Also adapted existing EIP-712 filters test files
2024-05-24 17:35:35 +02:00
Alexandre Paillier
e76e429148 Amount-join EIP-712 filtering implementation 2024-05-24 17:35:34 +02:00
Alexandre Paillier
c68b4186ed Simplify type conversions function in python client 2024-05-24 17:35:34 +02:00
Alexandre Paillier
736303e5de PROVIDE_ERC20_INFORMATION & PROVIDE_NFT_INFORMATION now send back the index where the asset has been stored 2024-05-24 17:35:34 +02:00
Alexandre Paillier
c4049fc039 Removed old substitutions in EIP-712 test and renamed it
message JSON directly in test
2024-05-24 17:35:28 +02:00
Alexandre Paillier
4a7e50138a Revert "EIP-712 addresses can now be displayed as a token ticker or a trusted domain name"
This reverts commit 77f5c9389b.
2024-05-24 15:41:49 +02:00
Alexandre Paillier
36186313a6 Updated APDU documentation 2024-05-24 15:41:49 +02:00
apaillier-ledger
fd779e9eb2 Merge pull request #588 from LedgerHQ/fix/apa/nbgl_eip712_flex
Fix NBGL EIP-712 on Flex
2024-05-24 15:34:54 +02:00
Alexandre Paillier
1c8482799c Enable EIP712 Ragger tests for Flex 2024-05-24 15:17:12 +02:00
Alexandre Paillier
7c14a9cd62 Regenerated EIP-712 Stax snapshots 2024-05-24 15:17:12 +02:00
Alexandre Paillier
aac8c31bb8 Removed NBGL-specific truncation of long EIP-712 fields 2024-05-24 15:17:11 +02:00
Alexandre Paillier
c50943e4ca Port EIP712 to the new NBGL streaming use case
Fixes the Flex navigation issue
2024-05-24 15:17:06 +02:00
Alexandre Paillier
19d71ffe77 Revert "Update client to reduce delay (no more slow speculos for Stax)"
This reverts commit 186186ab91.

+ new delay for stax/flex
2024-05-24 14:22:29 +02:00
Alexandre Paillier
ec2e17b8b4 EIP-712 v0 small cleanup 2024-05-24 13:58:05 +02:00
apaillier-ledger
a8645103f2 Merge pull request #587 from LedgerHQ/fix/apa/nbgl_eip712_v0
Fix NBGL EIP-712 v0
2024-05-23 15:35:44 +02:00
Alexandre Paillier
7ad2e89d23 Fix NBGL EIP-712 v0
Was using the streaming review use case when it did not have to
2024-05-23 15:12:18 +02:00
apaillier-ledger
78c1c885af Merge pull request #585 from LedgerHQ/feat/apa/increase_max_items
Increase max assets to 5 + LNS ram optimization
2024-05-22 14:27:36 +02:00
Alexandre Paillier
eee4de9d2a Updated plugin SDK 2024-05-22 13:51:13 +02:00
Alexandre Paillier
693a88ef12 Increased MAX_ASSETS to 5 2024-05-22 13:41:54 +02:00
apaillier-ledger
3e60474607 Merge pull request #582 from LedgerHQ/feat/apa/remove_eip712_filters_counter_check
Remove filters counter check at the end of EIP712 flow
2024-05-20 11:59:23 +02:00
Alexandre Paillier
c17e06b525 Remove filters counter check at the end of EIP712 flow 2024-05-20 11:21:20 +02:00
Charles-Edouard de la Vergne
e434173bc3 Merge pull request #565 from LedgerHQ/cev/B2CA-1558_Port-Flex
B2CA-1558: Port Ethereum on Flex
2024-05-16 17:44:25 +02:00
Charles-Edouard de la Vergne
c0d19fdf6d Update ethereum plugin-sdk 2024-05-13 14:33:10 +02:00
François Beutin
f023a88e15 Merge pull request #580 from LedgerHQ/fbe/increase_plugin_context_size_v2
Bump plugin context size to 10x32
2024-05-07 18:24:04 +02:00