1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
trezor-firmware/common/tests/fixtures/ethereum
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
..
getaddress.json chore(tests): vectorizing and creating JSON fixtures for ethereum device tests 2021-09-02 10:28:26 +02:00
getpublickey.json chore(tests): improving consistency of ethereum fixtures 2021-09-20 13:04:56 +02:00
sign_tx_eip155.json chore(tests): improving consistency of ethereum fixtures 2021-09-20 13:04:56 +02:00
sign_tx_eip1559.json chore(tests): improving consistency of ethereum fixtures 2021-09-20 13:04:56 +02:00
sign_tx.json chore(tests): improving consistency of ethereum fixtures 2021-09-20 13:04:56 +02:00
sign_typed_data.json fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
signmessage.json chore(tests): improving consistency of ethereum fixtures 2021-09-20 13:04:56 +02:00
verifymessage.json chore(tests): vectorizing and creating JSON fixtures for ethereum device tests 2021-09-02 10:28:26 +02:00