1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/tools
grdddj 73238135d6 feat(core/ethereum): EIP-712
Based on original contribution by Max Kupriianov <xlab@hey.com>

Implemented EIP-712 typed data signatures in Ethereum app.

Add eth_abi into pyproject deps

device test for EIP 712

fixed hex decoding for address

fixup! fixed hex decoding for address

code quality, more pythonic code, removing unused imports

running black and isort on changed files

trezorctl file input for EIP 712 data signing

fixup! code quality, more pythonic code, removing unused imports

fixup! fixup! code quality, more pythonic code, removing unused imports

necessary changes after rebase to master

unit tests for sign_typed_data.py

new protobuf messages, working for nonarray types

simplified and verified solution for our simple data

support for simple arrays, without their confirmation

reverting protobuf value messages to bytes, appropriate changes

showing arrays in Trezor, code quality improvements

data validation on Trezor, minor improvements

using custom types for storing type data instead of dicts, addressing feedback from review

moving helper functions to its own file, tests for decode_data

additional overall tests

support for arrays of structs

adding support for metamask_v4_compat variable

using HashWriter object to collect the final hash continously

minor improvements in code quality

validate_field_type function

streaming values from client without saving them, missing UI

prototype of streamed UI using confirm_properties

accounting for bytes in data, more data types in integration tests

rebase on master, using f-strings

minor fixes and improvements from code review

StructHasher class for the whole hashing process

mypy and style changes

asking users whether to show structs and arrays

protobuf descriptions to fix make defs_check

unifying comments, mypy fix

unit tests for StructHasher class

UI fixtures, skipping device tests for T1

addressing majority of code review comments about code quality and structure

changing file structure - layouts, helpers, sign_typed_data

decode_data renaming and docstring, renaming unit test file

using tuples instead of lists in elifs

layout improvements

excluding core/src/apps/common/confirm.py file from the PR

True/False returning layout with Show more button

code review layout improvements

forgotten br_type argument to should_show_more
2021-11-02 14:27:01 +01:00
..
.gitignore tools/issues: add personal access token support for private repos 2019-11-14 15:57:17 +00:00
build_protobuf feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
bump-version.py style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
check-bitcoin-only chore(common): update chains and tokens 2021-11-01 13:58:48 +01:00
clang-format-check all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
generate-changelog-unreleased.sh docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
generate-changelog.py style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
github_issues_to_csv.py style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
help.awk
style.c.exclude style(core): style for systemview 2021-01-26 20:53:38 +01:00
style.c.include
style.py.exclude
style.py.include ci: upload ui tests fixtures 2020-01-03 15:07:46 +00:00
towncrier.template.md docs: allow adding changelog entries without linked issue 2021-07-21 15:47:16 +02:00
towncrier.toml docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
version.sh ci: include version+githash into artefact filenames 2019-08-29 00:01:59 +02:00