Commit Graph

1723 Commits

Author SHA1 Message Date
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
Francois Beutin
68c4f5e692 Bump plugin context size to 10x32 2024-05-07 18:21:19 +02:00
apaillier-ledger
5b2f73be49 Merge pull request #579 from LedgerHQ/fbe/remove_token_management_from_main_rebased
Remove token management from main
2024-05-07 18:20:33 +02:00
Alexandre Paillier
c2011f5d42 Renamed Item to Asset & changed the set marker type to boolean
Also renamed the reset assets function
2024-05-07 17:58:17 +02:00
Alexandre Paillier
c2e0f7ca6a Now uses the new asset util functions
Now the first asset is properly stored at index 0 instead of 1
2024-05-07 17:44:52 +02:00
Alexandre Paillier
18a02dcacb Added some asset info util functions 2024-05-07 17:37:06 +02:00
Alexandre Paillier
c8c4b6cccc Renamed get_asset_info to get_asset_info_by_addr 2024-05-07 17:37:04 +02:00
Charles-Edouard de la Vergne
817e7a846a Disable eip712 tests because of not supported swipe 2024-05-07 16:24:03 +02:00
Charles-Edouard de la Vergne
788870f786 1st Flex snapshots 2024-05-07 16:24:02 +02:00
Charles-Edouard de la Vergne
4e6ec46d35 Rename glyphs to be compatible with both Stax end Flex 2024-05-07 16:24:02 +02:00
Charles-Edouard de la Vergne
9e4b43e513 Replace nbgl_layoutTagValueXX by nbgl_contentTagValueXX 2024-05-07 16:24:02 +02:00
Charles-Edouard de la Vergne
0421deb5c7 Port typed message review steps to 'nbgl_useCaseStreamingReview' in ui_sign_712_v0.c 2024-05-07 16:24:01 +02:00
Charles-Edouard de la Vergne
93f07c3dfe Port transaction review steps to 'nbgl_useCaseGenericReview' in ui_confirm_parameter_selector.c 2024-05-07 16:24:01 +02:00
Charles-Edouard de la Vergne
be4619a696 Port transaction review steps to 'nbgl_useCaseGenericReview' in ui_display_privacy.c 2024-05-07 16:24:00 +02:00
Charles-Edouard de la Vergne
e06d315c10 Port transaction review steps to 'nbgl_useCaseReview' in ui_approve_tx.c 2024-05-07 16:24:00 +02:00
Charles-Edouard de la Vergne
8ba14e0e8d Add test for 'confirm_parameter_selector' 2024-05-07 16:24:00 +02:00
Charles-Edouard de la Vergne
1bd3e99af0 Add tests for 'Perform Privacy Operation' (run only on device) 2024-05-07 16:23:59 +02:00
Charles-Edouard de la Vergne
0ce1e7c3b8 Port scenario review in 'test_eip712' 2024-05-07 16:23:59 +02:00
Charles-Edouard de la Vergne
d83ae9377a Port scenario review in 'test_eip191' 2024-05-07 16:23:59 +02:00
Charles-Edouard de la Vergne
d48d495eea Port scenario review in 'test_clone' 2024-05-07 16:23:58 +02:00
Charles-Edouard de la Vergne
a05acddc88 Port scenario review in 'test_nft' 2024-05-07 16:23:58 +02:00
Charles-Edouard de la Vergne
3c169dc896 Port scenario review in 'test_sign' 2024-05-07 16:23:58 +02:00
Charles-Edouard de la Vergne
e428657f01 Port scenario review in 'test_domain_name' 2024-05-07 16:23:57 +02:00
Charles-Edouard de la Vergne
1c9f138fdd Port Address Review steps to 'nbgl_useCaseAddressReview' 2024-05-07 16:23:57 +02:00
Charles-Edouard de la Vergne
75f4694948 Update bagl wording to avoid confusions during ragger screen comparison 2024-05-07 16:23:56 +02:00