mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 05:18:08 +00:00
5c4703c9bb
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 |
||
---|---|---|
.. | ||
defs | ||
keys | ||
protob | ||
tests/fixtures | ||
tools | ||
udev | ||
.gitignore | ||
.gitmodules | ||
.gitrepo | ||
COPYING | ||
README.md |
Trezor Common
This project contains files shared among Trezor projects. All changes are happening inside the Trezor Firmware repository.
We also export this project to the trezor-common repository as a read-only copy so third parties may depend on that instead of the whole monorepo. It is meant to be used as a submodule using:
git submodule add https://github.com/trezor/trezor-common.git trezor-common