1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00
Commit Graph

153 Commits

Author SHA1 Message Date
Tomas Susanka
8de3cd7cac nem: refactored to directories 2018-06-06 17:24:07 +02:00
Tomas Susanka
32681972f1 nem: aggregate modification relative_change is int 2018-06-06 17:24:07 +02:00
Tomas Susanka
b80a8022d0 nem: multisig 2018-06-06 17:24:07 +02:00
Tomas Susanka
d54d33df3a nem: big refactoring of serialization
protocol classes are now used; reflected in unit tests
2018-06-06 17:24:07 +02:00
Tomas Susanka
6aef64d367 nem: compute address from pubkey 2018-06-06 17:24:07 +02:00
Tomas Susanka
4cd87d3a01 nem: mosaics canonicalization 2018-06-06 17:24:07 +02:00
Tomas Susanka
d07deecc7e nem: mosaics moved to seperate file 2018-06-06 17:24:07 +02:00
Tomas Susanka
10a52d8688 nem: multisig (basic functions, unit tests) 2018-06-06 17:24:06 +02:00
Tomas Susanka
48c6686dca nem: aggregate modification 2018-06-06 17:24:06 +02:00
Tomas Susanka
2e6587ec6c nem: transaction create mosaic supply change 2018-06-06 17:24:06 +02:00
Tomas Susanka
a6c406abea nem: transaction mosaic creation test 2018-06-06 17:24:06 +02:00
Tomas Susanka
2696968894 nem: transaction mosaic creation 2018-06-06 17:24:06 +02:00
Tomas Susanka
8e7ee89b02 nem: transaction serialization 2018-06-06 17:24:06 +02:00
Tomas Susanka
5dd3d1e7e5 nem: provision namespaces 2018-06-06 17:24:06 +02:00
Tomas Susanka
4827ff3a03 nem: create transfer (including mosaics) 2018-06-06 17:24:06 +02:00
Tomas Susanka
b5cc678caa nem: encrypt 2018-06-06 17:24:06 +02:00
Tomas Susanka
a18b398747 nem: unit test for address 2018-06-06 17:24:06 +02:00
Pavol Rusnak
7f36185ab3
tests: fix segwit tests using preimage_hash 2018-06-05 16:54:36 +02:00
Pavol Rusnak
307f7baecf
fix flake8 issues 2018-05-28 15:23:37 +02:00
Tomas Susanka
bb57000449
src/trezor/crypto: add trezor.crypto.base32 2018-05-25 16:09:05 +02:00
matejcik
7b06a802bb
tests: drop nonexistent fields from TxOutputBinType 2018-05-24 15:41:07 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s} 2018-05-22 19:44:52 +02:00
Pavol Rusnak
577cb361dc
src/trezor/crypto: add cashaddr support 2018-05-22 17:47:54 +02:00
matejcik
003d77b209 testing: configure pytest.ini and update testing documentation
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Tomas Susanka
55de110ee9 eth: unknown token changed to (None, None..) 2018-05-10 14:51:08 +02:00
Tomas Susanka
2d0d360944 eth: unknown token transfer is recognized and displayed as unknown
updates #198
2018-05-10 14:19:23 +02:00
Jan Pochyla
3b67cb6bea tests: fix loop.select usage 2018-04-13 15:00:50 +02:00
Jan Pochyla
e223173b4e loop: wait -> spawn, select -> wait
select was a bit confusing name, as we always block on only one
interface.
2018-04-13 14:57:04 +02:00
Tomas Susanka
c827607eec tests: ethereum format_address takes int as an input
fixing 8cdec0652e
2018-03-09 17:42:28 +01:00
matejcik
bd32e1e3b3 tests: set default TREZOR_PATH to the emulator
(so you can run `make test_emu` with a physical Trezor connected)
2018-03-09 15:19:54 +01:00
matejcik
5b9b904198 Makefile: pass TESTOPTS to test runners (and use them in run_tests_device_emu.sh 2018-03-09 15:19:53 +01:00
Pavol Rusnak
611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model() 2018-03-04 12:59:16 +01:00
Pavol Rusnak
c7c5f55508
src/apps/ethereum: fix layout for values around 1e9 Wei 2018-03-03 23:37:21 +01:00
Tomas Susanka
20456a263a tests/unit: wire missing ubinascii import 2018-02-27 15:24:32 +01:00
Pavol Rusnak
9c7ddba217
src+tests: use flake8 F401 to detect unused imports 2018-02-27 03:05:15 +01:00
Jan Pochyla
323714dc61 src/trezor/wire: disable v2 codec 2018-02-27 02:09:04 +01:00
Pavol Rusnak
be79a8cff4
src+tests: make flake8 happy; explicitly mark E722 ignores (bare excepts) 2018-02-27 00:31:33 +01:00
Jan Pochyla
b88e4e5d5a signing: rely on address_n being always list 2018-02-26 16:13:00 +01:00
Jan Pochyla
fa5dbadc93 src/apps/wallet/sign_tx: cleanup and split scripts/addresses 2018-02-26 16:13:00 +01:00
Tomas Susanka
fb7a315208 tests: note on missing native p2wsh test 2018-02-26 16:13:00 +01:00
Tomas Susanka
b7e4fe02a9 tests: multisig field set to None 2018-02-26 16:13:00 +01:00
Tomas Susanka
e4423567cb signing: multisig addresses (p2sh, p2wsh in p2sh) 2018-02-26 16:12:59 +01:00
Tomas Susanka
8fbf89b7f3 signing: p2sh and witness native addresses 2018-02-26 16:12:59 +01:00
Tomas Susanka
901b0a53a1 tests/signing: threshold test fix
This was failing due to ff32a2e8a6
This fix hardcodes the maxfee_kb variable in the test to allow further modifications
2018-02-12 12:33:17 +01:00
Jan Pochyla
e888b6b967 apps/wallet/sign_tx: fix sighash 2018-02-09 14:16:33 +01:00
Pavol Rusnak
800c2c64c8
tests: fix trezor.config test by changing PYOPT to 1 2018-02-09 13:42:20 +01:00
Pavol Rusnak
b0242d3a3e
tests: fix test_apps.ethereum.layout 2018-02-09 13:36:08 +01:00
Pavol Rusnak
585e9842f8
src/apps+tests: use TODO consistently across whole codebase 2018-02-06 15:23:51 +01:00
Tomas Susanka
a306ce60c2 tests: small note at the end of output with the tests outcome 2018-01-31 15:51:13 +01:00
Pavol Rusnak
739e4f2e45
fix release_num values 2018-01-25 17:46:29 +01:00