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 726c927de7..33870775b6 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 1c2d6cd43f..726c927de7 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..1c2d6cd43f 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 726c927de7..b920a95a13 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 1c2d6cd43f..726c927de7 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..1c2d6cd43f 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 545b22ef50..2a37fa868a 100644 --- a/tests/ragger/test_eip712.py +++ b/tests/ragger/test_eip712.py @@ -213,6 +213,7 @@ def test_eip712_advanced_filtering(firmware: Firmware, "token_send": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "value_send": 24500000000000000000, "token_recv": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "expires": 1714559400, }, "primaryType": "Transfer", "types": { @@ -228,6 +229,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"}, ] } } @@ -275,6 +277,10 @@ def test_eip712_advanced_filtering(firmware: Firmware, "type": "raw", "name": "With", }, + "expires": { + "type": "datetime", + "name": "Will Expire" + }, } }