1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 05:18:08 +00:00
trezor-firmware/tests/ui_tests
Alois Klink 5c4703c9bb fix(core,legacy): Fix domain-only ethTypedData
When doing Ethereum signTypedData, and the primaryType="EIP712Domain",
we completely ignore the "message" part and only sign the domain.

According to the community, this is technically allowed by the spec,
and may be used by ETH smart contracts to save on gas.

Test case generated by @MetaMask/eth-sig-util's library.

See: https://ethereum-magicians.org/t/eip-712-standards-clarification-primarytype-as-domaintype/3286
2022-01-14 14:22:46 +01:00
..
reporting style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
screens tests/ui: replace many hash.txt files with one large one 2020-01-31 13:05:58 +00:00
__init__.py style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
__main__.py feat(tests): generate UI test report again from current data 2021-06-23 11:51:18 +02:00
.gitignore test(core): print fixtures suggestion after the test 2020-10-06 21:17:28 +02:00
fixtures.json fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00