1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
Commit Graph

7636 Commits

Author SHA1 Message Date
Jan Pochyla
875579867e core/ethereum: store tokens as a decision tree 2019-05-20 16:51:46 +02:00
y-chan
94de0aa9cb common/defs: add BitZeny (#155) 2019-05-19 15:33:50 +02:00
y-chan
a48f14b609 common/defs: add vipstarcoin (#157) 2019-05-19 11:19:27 +02:00
Pavol Rusnak
6dcf9635a9
legacy: wipe with debug link only in emulator 2019-05-17 17:00:45 +02:00
matejcik
e2ab5d0565 core: fix usage of EthereumAddress after old field was restored 2019-05-17 15:49:01 +02:00
matejcik
fdd92404d2 ci: run codegen checks 2019-05-17 15:49:01 +02:00
matejcik
0b50d671e1 make gen && make style 2019-05-17 15:48:57 +02:00
matejcik
029f464f04 build: add build and check target for coins.json 2019-05-17 15:48:17 +02:00
matejcik
6c2ebcb16a build: require new enough flake8 for per-file-ignores 2019-05-17 15:45:51 +02:00
matejcik
482b4569f5 build: fix and auto-generate mock files
Squashed commit of the following:

commit 84d3486f59bda063f06521c8b695ea4b07781ec6
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 17 14:17:15 2019 +0200

    mocks: complete

commit d538133a6d0fb4af06c7c81f80b8675869fb5908
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 17 14:12:26 2019 +0200

    mocks part 3

commit 9f0b868d41dafaf487df6fc844db7f3368eabe1b
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 17 14:09:20 2019 +0200

    mocks: update generated mocks

commit 5d80c18a7824ed16fc11cde4cdb8ebca7ed33400
Author: matejcik <ja@matejcik.cz>
Date:   Thu May 16 15:49:40 2019 +0200

    mocks wip 2

commit 4b576eb796136a61eb88cb0d281fa4e21eadada8
Author: matejcik <ja@matejcik.cz>
Date:   Tue May 7 17:02:51 2019 +0200

    WIP mocks part 1

commit cf3f0d4471ab74b478d2970b0bb178feae7c86a3
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 3 17:07:53 2019 +0200

    core: add package to secp256k1_zkp for mocking

commit 8a12f26c8c0d99363c8df96012426abbbb3ff6cb
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 3 17:04:05 2019 +0200

    core: blackify extmod docstring quotes

commit b6f239676dde8b60b001fcae4e5de80a71dbacf2
Author: matejcik <ja@matejcik.cz>
Date:   Fri May 3 16:52:27 2019 +0200

    core: make build_mocks directory agnostic

mocks: detect bad packages

mocks: revert noqa in favor of setup.cfg

mocks: fix broken comment formatting
2019-05-17 15:45:47 +02:00
matejcik
ffcb5e99cc mocks: fix shamir package 2019-05-17 15:12:41 +02:00
matejcik
e69d98a533 build: new make targets for generated files 2019-05-17 15:12:41 +02:00
matejcik
f8446c3e00 build: centralize pb2py usage 2019-05-17 15:12:32 +02:00
matejcik
cf396e3661 python: return generated files to git
This separates the regeneration step from the build/install step.
This is to simplify bootstrapping: trezorlib is needed in several
build/test steps, and bound to be needed in more. It should be
usable and installable straight from the checkout.
2019-05-17 15:09:58 +02:00
Pavol Rusnak
b5b4a2ca5f
core: remove empty __init__.py files 2019-05-17 11:46:04 +02:00
Pavol Rusnak
1812be5d49
core: fix missing value for mnemonic_type when upgrading firmware 2019-05-17 00:31:41 +02:00
Pavol Rusnak
2d3ef6ae3b
python: add more unit tests for ethereum message sign/verify 2019-05-16 18:10:47 +02:00
Alex Dupre
fc3a93dc47 legacy/firmware: fix ethereum message signing (#153)
If the length of the message was exactly a power of `10` the initial `1` was omitted.
2019-05-16 18:07:43 +02:00
Pavol Rusnak
f7d41cbbd7
core+legacy: drop NOUI and HEADLESS, SDL_VIDEODRIVER works fine 2019-05-16 17:06:14 +02:00
matejcik
b69a9e768b core: fix ethereum test 2019-05-16 13:29:47 +02:00
Konnor Klashinsky
fe65a70dce Do not display token values in Wei for low-decimal value tokens (#141)
* Do not display token values in Wei for low-decimal value tokens

* update logic

* add unit tests
2019-05-16 12:50:23 +02:00
matejcik
0d90aa1932 defs: add Capricoin wallet, regenerate coins_details 2019-05-15 12:25:36 +02:00
matejcik
5b4cc82e71 defs: ignore regtest in coins_details 2019-05-15 12:25:36 +02:00
Pavol Rusnak
0a52b51a26
core: regenerate templates 2019-05-14 17:15:14 +02:00
PowerVANO
be0d292841
common/defs: fix invalid value in horizen.json 2019-05-14 17:08:14 +02:00
PowerVANO
abe6c433d6 common/defs: update zencash.json (#147) 2019-05-14 17:05:09 +02:00
matejcik
4d353f0239 ci: show clang-format version when making style 2019-05-14 16:41:06 +02:00
Pavol Rusnak
f56804a57a
fix typo 2019-05-14 15:48:39 +02:00
Pavol Rusnak
076f1a49be
fix typo 2019-05-14 15:42:42 +02:00
Pavol Rusnak
45f85d9be5
fix typo, add image 2019-05-14 15:41:09 +02:00
Pavol Rusnak
90c2a9c780
add README 2019-05-14 15:39:34 +02:00
matejcik
6512dd541d ci: do not install clang-format in travis, travis has its own 2019-05-14 12:59:32 +02:00
matejcik
04a8aadb09 ci: install clang-format 6 2019-05-14 12:59:05 +02:00
matejcik
0df2ef10a1 ci: ugly bashism to make clang-format-check fail properly 2019-05-14 12:00:59 +02:00
matejcik
f8a1f47e67 ci: make clang-format-check fail if clang-format does not exist 2019-05-14 11:43:39 +02:00
matejcik
bc77cad5e4 ci: add clang-format to Dockerfile 2019-05-14 11:40:55 +02:00
Dusan Klinec
f767f890cd tests: new monero binary added 2019-05-14 11:37:56 +02:00
matejcik
770e2341f3 ci: add protobuf to travis 2019-05-14 11:29:03 +02:00
matejcik
9e125a301f build: drop python monero requirements 2019-05-14 11:24:31 +02:00
Pavol Rusnak
4097f254d5
core: don't erase passphrase on ClearSession 2019-05-13 19:35:32 +02:00
Pavol Rusnak
4358318806
common/defs/ethereum: sort networks.json according to chain_id 2019-05-13 18:29:17 +02:00
Nicemanss
5048a023ae common/defs/ethereum: add HPB (#150) 2019-05-13 18:25:14 +02:00
matejcik
9d052e87e4 ci: add details to travis 2019-05-13 18:04:30 +02:00
matejcik
f098205f3e ci: add simple travis check 2019-05-13 18:00:43 +02:00
matejcik
fbd6e435b8 ci: simplify running defs checks 2019-05-13 18:00:43 +02:00
matejcik
9b168daa19 style: improve makefile output, format test files 2019-05-13 18:00:43 +02:00
matejcik
6776ad56d2 python: drop travis script 2019-05-13 18:00:43 +02:00
matejcik
6fabaa7bd8 python: use better error when no ui is supplied 2019-05-13 18:00:43 +02:00
Pavol Rusnak
00564f4a1c
core/cache: fix setting of None passphrase 2019-05-13 16:53:41 +02:00
Pavol Rusnak
35945239eb
core/embed: use MP_ROM_INT instead of MP_OBJ_NEW_SMALL_INT where intended 2019-05-13 16:52:21 +02:00