diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00005.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00005.png index cbaa889017..feade3815c 100644 Binary files a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00005.png and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00005.png differ diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00006.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00006.png index 8b981d44cc..cbaa889017 100644 Binary files a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00006.png and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00006.png differ diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00007.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00007.png new file mode 100644 index 0000000000..8b981d44cc Binary files /dev/null and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering/00007.png differ diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00012.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00012.png index cbaa889017..1fe5517f0b 100644 Binary files a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00012.png and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00012.png differ diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00013.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00013.png index 8b981d44cc..cbaa889017 100644 Binary files a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00013.png and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00013.png differ diff --git a/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00014.png b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00014.png new file mode 100644 index 0000000000..8b981d44cc Binary files /dev/null and b/tests/ragger/snapshots/flex/test_eip712_advanced_filtering_verbose/00014.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00005.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00005.png index 53ae65195f..ec78b45062 100644 Binary files a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00005.png and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00005.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00006.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00006.png index 6578872258..53ae65195f 100644 Binary files a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00006.png and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00006.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00007.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00007.png new file mode 100644 index 0000000000..6578872258 Binary files /dev/null and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering/00007.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00012.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00012.png index 53ae65195f..b465a20856 100644 Binary files a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00012.png and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00012.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00013.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00013.png index 6578872258..53ae65195f 100644 Binary files a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00013.png and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00013.png differ diff --git a/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00014.png b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00014.png new file mode 100644 index 0000000000..6578872258 Binary files /dev/null and b/tests/ragger/snapshots/nanosp/test_eip712_advanced_filtering_verbose/00014.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00005.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00005.png index 53ae65195f..ec78b45062 100644 Binary files a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00005.png and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00005.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00006.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00006.png index 6578872258..53ae65195f 100644 Binary files a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00006.png and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00006.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00007.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00007.png new file mode 100644 index 0000000000..6578872258 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering/00007.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00012.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00012.png index 53ae65195f..b465a20856 100644 Binary files a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00012.png and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00012.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00013.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00013.png index 6578872258..53ae65195f 100644 Binary files a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00013.png and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00013.png differ diff --git a/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00014.png b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00014.png new file mode 100644 index 0000000000..6578872258 Binary files /dev/null and b/tests/ragger/snapshots/nanox/test_eip712_advanced_filtering_verbose/00014.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00005.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00005.png index 9c2fa5d784..6797fddee0 100644 Binary files a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00005.png and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00005.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00006.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00006.png index 54aba60e5f..9c2fa5d784 100644 Binary files a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00006.png and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00006.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00007.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00007.png new file mode 100644 index 0000000000..54aba60e5f Binary files /dev/null and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering/00007.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00012.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00012.png index 9c2fa5d784..23d3c525a6 100644 Binary files a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00012.png and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00012.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00013.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00013.png index 54aba60e5f..9c2fa5d784 100644 Binary files a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00013.png and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00013.png differ diff --git a/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00014.png b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00014.png new file mode 100644 index 0000000000..54aba60e5f Binary files /dev/null and b/tests/ragger/snapshots/stax/test_eip712_advanced_filtering_verbose/00014.png differ diff --git a/tests/ragger/test_eip712.py b/tests/ragger/test_eip712.py index 26a3500c93..c293e3b695 100644 --- a/tests/ragger/test_eip712.py +++ b/tests/ragger/test_eip712.py @@ -209,6 +209,7 @@ def test_eip712_advanced_filtering(firmware: Firmware, "token_send": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "value_send": 24500000000000000000, "token_recv": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "expires": 1714559400, }, "primaryType": "Transfer", "types": { @@ -224,6 +225,7 @@ def test_eip712_advanced_filtering(firmware: Firmware, {"name": "token_send", "type": "address"}, {"name": "value_send", "type": "uint256"}, {"name": "token_recv", "type": "address"}, + {"name": "expires", "type": "uint64"}, ] } } @@ -271,6 +273,10 @@ def test_eip712_advanced_filtering(firmware: Firmware, "type": "raw", "name": "With", }, + "expires": { + "type": "datetime", + "name": "Will Expire" + }, } }