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

129 Commits

Author SHA1 Message Date
Pavol Rusnak
07ce935725
core/eos: revert new pubkey format 2019-05-26 11:48:49 +02:00
Pavol Rusnak
5a2c67ccae
core: let's have pytest.ini back 2019-05-25 13:53:58 +02:00
Pavol Rusnak
23202e2479
core: remove pytest.ini because it hides setup.cfg from root 2019-05-25 13:37:34 +02:00
Pavol Rusnak
0765842e7f
root: move pytest markers to setup.cfg 2019-05-25 13:06:28 +02:00
Pavol Rusnak
684862a7f5
common: more TRX cleanup 2019-05-25 12:48:04 +02:00
Roman Zeyde
8a179437b1
core: add custom markers to pytest.ini
Following https://docs.pytest.org/en/latest/mark.html#registering-marks
2019-05-25 12:09:45 +02:00
Tomas Susanka
cc5c8ae7e0
common+python: Revert Ontology support
This reverts commit 402e72e36e.
This reverts commit 21326d3a41.
This reverts commit 18739987ee.
2019-05-25 11:59:35 +02:00
Tomas Susanka
562206d220
tests: remove xfail 2019-05-25 11:59:35 +02:00
Roman Zeyde
d190d906de core/secp256k1-zkp: use ARM assembly for field operations (#176)
Update to latest secp256k1-zkp to allow building on Cortex-M4 devices (https://github.com/ElementsProject/secp256k1-zkp/pull/56).
2019-05-25 11:42:13 +02:00
Jan Pochyla
9586358e44 core: log memory info if TREZOR_LOG_MEMORY env is set 2019-05-24 16:28:11 +02:00
Pavol Rusnak
9460ac425a
core/eos: fix pubkey unit test 2019-05-24 16:18:07 +02:00
Pavol Rusnak
8c1f5c88f7
core: fix style 2019-05-24 16:09:12 +02:00
Jan Pochyla
c2f5174b43
core: optimize memory usage in signing 2019-05-24 16:04:20 +02:00
Pavol Rusnak
a6e51434f2
core/eos: use new pubkey format 2019-05-24 16:01:28 +02:00
Pavol Rusnak
414b33dbfb
core/eos: reduce code duplication 2019-05-24 15:52:57 +02:00
Pavol Rusnak
1583ea62f9
core: serialize signature in EosSignedTx message 2019-05-24 12:49:19 +02:00
Tomas Susanka
279b40bdb7 build: templates
Fixes tests broken by 9e05517872
2019-05-24 11:49:03 +02:00
Pavol Rusnak
5f1586e049
core: regenerate templates 2019-05-23 20:24:44 +02:00
Pavol Rusnak
164336cb56
core: add equality function to mako template too 2019-05-22 22:46:22 +02:00
Pavol Rusnak
0568379f8d
core/tests: disable over_fee_threshold test 2019-05-22 19:29:49 +02:00
Pavol Rusnak
a99ccbc4d2
core: add equality function to coininfo 2019-05-22 16:59:06 +02:00
Pavol Rusnak
b31092a874
core/tests: don't use coins.by_shortcut 2019-05-22 16:46:49 +02:00
Pavol Rusnak
2060ca569f
core: fix flake8 warning 2019-05-22 16:28:26 +02:00
Jan Pochyla
1f3adc7069
core: store bitcoin-like coins as a decision tree 2019-05-22 16:15:39 +02:00
Pavol Rusnak
9676eec4df
common: update support for core coins 2019-05-22 16:06:58 +02:00
Trustfarm-heart
31fca6d25d common/defs: add TEO (#163) 2019-05-22 15:43:47 +02:00
Pavol Rusnak
2b3f72f994
core: update changelog 2019-05-22 15:25:10 +02:00
matejcik
984c6b6236 style: drop tokens.py from style checks
because pyflakes / stdlib's ast will exceed recursion depth
while analyzing the main function
2019-05-22 15:06:23 +02:00
Pavol Rusnak
60d1460185
core/ethereum: simplify code for token list 2019-05-20 18:04:12 +02:00
Jan Pochyla
d56de2c5fe core: import some modules lazily to save memory 2019-05-20 16:51:47 +02:00
Jan Pochyla
875579867e core/ethereum: store tokens as a decision tree 2019-05-20 16:51:46 +02:00
matejcik
e2ab5d0565 core: fix usage of EthereumAddress after old field was restored 2019-05-17 15:49:01 +02:00
matejcik
0b50d671e1 make gen && make style 2019-05-17 15:48:57 +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
f8446c3e00 build: centralize pb2py usage 2019-05-17 15:12:32 +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
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
Pavol Rusnak
0a52b51a26
core: regenerate templates 2019-05-14 17:15:14 +02:00
Dusan Klinec
f767f890cd tests: new monero binary added 2019-05-14 11:37:56 +02:00
Pavol Rusnak
4097f254d5
core: don't erase passphrase on ClearSession 2019-05-13 19:35:32 +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
Pavol Rusnak
1dc2ccf4a5
core/xmr: fix style 2019-05-13 15:53:44 +02:00
Pavol Rusnak
7fe09e52bd
core/cache: use different default value for passphrase_fprint 2019-05-13 15:46:23 +02:00
Pavol Rusnak
f1c34701b8
core/cache: cache passphrase_fingerprint, compute it only on change 2019-05-13 15:34:23 +02:00
Dušan Klinec
9f36c73a78 core/xmr: authorize live refresh per passphrase (#129)
Improves UX as the live refresh prompts were too often.
2019-05-13 15:27:04 +02:00