Tomas Susanka
2d0d360944
eth: unknown token transfer is recognized and displayed as unknown
...
updates #198
2018-05-10 14:19:23 +02:00
Tomas Susanka
0d56ca922a
ethereum: format amount already has int as an argument
2018-05-03 11:04:31 +02:00
Pavol Rusnak
736b02394f
src/apps: make flake8 happy
2018-05-02 16:51:57 +01:00
Peter van Mourik
6a062ec5ea
Wanchain support ( #149 )
2018-05-02 15:48:10 +01:00
Jan Pochyla
0f2ed0f07c
src/apps/ethereum: use wire.Error
2018-04-23 16:12:44 +01:00
Jan Pochyla
9b9183c4f7
src/apps: remove unimport usage
2018-04-03 20:39:26 +02:00
Jochen Hoenicke
8cdec0652e
Ethereum: Fix fee computation.
...
- Gas is always in ether, even when sending tokens.
- Fee is computed by multiplying gas limit with gas price.
- Parse numbers already in sign_tx.
- Made rlp.encode non-recursive (also fixes not passing include_length).
2018-03-08 18:49:28 +01:00
Pavol Rusnak
c7c5f55508
src/apps/ethereum: fix layout for values around 1e9 Wei
2018-03-03 23:37:21 +01:00
Pavol Rusnak
1269a0239d
src/apps: use require_confirm where possible, introduce require_hold_to_confirm
2018-02-28 20:20:39 +01:00
Pavol Rusnak
59d1cc1e1b
src/apps/ethereum: fix whitespace in tokens.py
2018-02-28 15:15:14 +01:00
Pavol Rusnak
ba870fbf9b
src/apps/ethereum: regenerate token list
2018-02-28 02:36:43 +01:00
Pavol Rusnak
19bae93d92
src/apps/ethereum: fix ethereum ui
2018-02-28 02:12:48 +01:00
Pavol Rusnak
9549ef9865
src/apps/ethereum: fix get_address ui
2018-02-28 00:56:16 +01:00
Jan Pochyla
4ef79ca48b
src/apps: remove layout_ from workflow functions
2018-02-27 16:35:29 +01:00
Jan Pochyla
a4081bab72
src: move HashWriter to trezor.utils
2018-02-27 16:35:28 +01:00
Pavol Rusnak
9c7ddba217
src+tests: use flake8 F401 to detect unused imports
2018-02-27 03:05:15 +01:00
Pavol Rusnak
b97e5b7a55
src/trezor/ui: use ICON_DEFAULT by default, not ICON_RESET
2018-02-26 23:00:50 +01:00
Pavol Rusnak
d323aa88f7
apps.ethereum: disable sign/verify message
2018-02-26 16:57:18 +01:00
Tomas Susanka
b659f1b29c
signing/eth: tokens fix
...
todo: add test
2018-02-19 16:31:35 +01:00
Pavol Rusnak
fedfde7e99
src/trezor: refactor format_amount into utils, use it where possible
2018-02-06 18:35:14 +01:00
Pavol Rusnak
340f926804
apps/wallet+apps/ethereum: fix formatting of amounts (avoid using float)
2018-02-06 17:50:36 +01:00
Pavol Rusnak
585e9842f8
src/apps+tests: use TODO consistently across whole codebase
2018-02-06 15:23:51 +01:00
Pavol Rusnak
69344f34b6
apps/common/seed: refactor methods usage
2018-02-06 15:21:27 +01:00
Jan Pochyla
710306495e
apps: reduce unimport usage
...
unimport should be used only on the workflow dispatchers.
2018-01-30 18:50:59 +01:00
Pavol Rusnak
af93c7299d
apps.ethereum: don't use ButtonRequestType.ConfirmOutput for compatibility with T1
2018-01-11 23:11:13 +01:00
Tomas Susanka
c06ec002a3
ethereum/signing: typo
...
already tested, tests implemented in the pythontrezor repo
2018-01-11 23:08:35 +01:00
Tomas Susanka
aa8bb77e32
ethereum/signing: display data fix
2018-01-11 23:08:35 +01:00
Tomas Susanka
7d0cafecc3
ethereum/singing: layout seperated
2018-01-11 23:08:35 +01:00
Pavol Rusnak
d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
2017-12-23 15:12:31 +01:00
Pavol Rusnak
e47aa9f0c4
apps.ethereum: code cleanup
2017-12-23 14:09:45 +01:00
Tomas Susanka
54fcbb68df
HashWriter: getvalue -> get_digest
2017-12-22 17:10:28 +01:00
Tomas Susanka
8880d218b3
HashWriter: extra arguments are passed to the hash function
2017-12-22 17:10:28 +01:00
Tomas Susanka
5bf5d477b9
ethereum/signing: hashwriter is used
2017-12-22 17:10:28 +01:00
Tomas Susanka
688b568bd9
ethereum: files rename
2017-12-22 17:10:28 +01:00
Tomas Susanka
1f677306a1
ethereum/signing: streaming; all tests passing
2017-12-22 17:10:28 +01:00
Tomas Susanka
47b3baa30a
ethereum/signing: all test passing, no data stream
2017-12-22 17:10:28 +01:00
Tomas Susanka
dc02b322bf
ethereum/signing: basic structure, first test passing
...
first commit based on the trezor-mcu repo
eth tokens added using the common ethereum_tokens-gen.py script
first device test passing
2017-12-22 17:10:28 +01:00
Pavol Rusnak
18fcf826d6
ethereum: implement checksum in ethereum_get_address
2017-12-04 19:28:40 +01:00
Jan Pochyla
3562ffdc54
wire: pass Context to apps
2017-08-15 18:14:14 +02:00
Pavol Rusnak
73b2ea6c85
travis: add make style (using flake8)
2017-06-13 19:35:34 +02:00
Jan Pochyla
53c73b3b5c
apps: accomodate latest seed changes
2016-12-12 15:26:49 +01:00
Jan Pochyla
e0dfc2ef03
apps: reflect the wire api changes
2016-12-08 16:19:09 +01:00
Pavol Rusnak
918150a3f1
tests: make testpy tries running selected tests from python-trezor
...
apps.ethereum: fix get address call
2016-11-24 17:16:40 +01:00
Pavol Rusnak
e120faa227
apps.ethereum: implement EthereumGetAddress
2016-11-18 15:23:56 +01:00