1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 19:39:05 +00:00
Commit Graph

187 Commits

Author SHA1 Message Date
Pavol Rusnak
3c48f906b2 tests: fix eip155 test 2018-09-03 14:53:53 +02:00
HackyMiner
5a4c37d41c add more eip155 test cases (#297) 2018-09-03 14:52:57 +02:00
matejcik
88b50ac2ff style: add makefile with style targets, final touchups 2018-08-21 16:30:22 +02:00
matejcik
e2d45397d4 device_tests: smarter device selection
skips bridge, dies somewhat more cleanly when no device found
2018-08-21 16:06:18 +02:00
matejcik
3d3e9b67b4 style: apply black/isort 2018-08-13 18:22:19 +02:00
matejcik
e336f578af device_tests: update test_msg_getentropy to new style 2018-08-13 15:49:12 +02:00
matejcik
5259146a0b style: remove unused imports with autoflake 2018-08-10 15:48:39 +02:00
matejcik
ca608d0a98 flake8: fix complaints (for the last time, hopefully) 2018-08-10 15:24:21 +02:00
matejcik
4b4469b9f4 tests: clean up usage of hardening constants 2018-08-10 14:37:49 +02:00
matejcik
c0ef1ec535 tests: use new API 2018-08-10 14:04:58 +02:00
matejcik
a3d560529c trezorlib: post-merge updates 2018-08-06 16:15:44 +02:00
matejcik
2bb7088281 Merge branch 'master' into matejcik/client-split 2018-08-06 16:13:04 +02:00
D.Matskevych
5a677c3782 Added Zencash supporting 2018-07-26 11:34:51 +02:00
Pavol Rusnak
9462601849
tests: extract eip155 tests for ethereum, add more cases 2018-07-19 18:06:56 +02:00
Tomas Susanka
2a5ca12924 ripple: fix invalid fee test 2018-07-13 13:25:43 +02:00
matejcik
5b49658c8b ripple: fix broken fail-test 2018-07-12 16:56:47 +02:00
Tomas Susanka
61e63c6a02 ripple: ripple prefix dropped in functions 2018-07-12 16:36:33 +02:00
Tomas Susanka
c0f29bf4fd ripple: proper sign_tx command 2018-07-12 16:36:33 +02:00
Tomas Susanka
37847fb56f ripple: client functions moved to ripple.py 2018-07-12 16:36:33 +02:00
Tomas Susanka
77414ad761 ripple: code review fixes 2018-07-12 16:36:33 +02:00
Tomas Susanka
2017dadfcb ripple: sign tx command including tests 2018-07-12 16:36:33 +02:00
Tomas Susanka
147e7e21cb ripple: get address command including tests 2018-07-12 16:36:33 +02:00
Tomas Susanka
8348d47fd7 stellar/tests: T2 support merged -> xfail dropped 2018-07-12 15:21:46 +02:00
Tomas Susanka
e5cdf45956 stellar/tests: some device tests set show_display=True 2018-07-11 16:03:38 +02:00
matejcik
87837bc305 stellar: drop protocol_version 2018-07-09 14:06:11 +02:00
matejcik
7e90e89e69 client: get rid of TrezorClient._convert_prime 2018-07-09 13:56:22 +02:00
matejcik
1820f529fc trezorlib: shuffling things from client 2018-07-09 13:50:25 +02:00
matejcik
19a0f4cc7b tx_api: support blockbook, allow url-less operation
Bitcoin Testnet backends were removed.
This broke our tests that work purely on local data but nevertheless
need to know backend URLs. Because the design is less than ideal.

Here, we do a little cleanup:
* blockbook URLs are respected
* Dogecoin is now supported by our blockbook backend so we don't need
  a special tx-api implementation
* it's possible to instantiate a TxApi that is backed by the cache,
  without a known URL
* relevant tests now make use of this feature
2018-07-09 13:46:18 +02:00
matejcik
ad16588171 stellar: update T1 tests 2018-06-28 12:40:49 +02:00
ZuluCrypto
cd7189839c stellar - return addresses as utf-8 strings 2018-06-28 11:57:56 +02:00
ZuluCrypto
2549eaf5a6 test_stellar.py - split imports into two lines and do not alias messages to "proto" 2018-06-28 11:57:56 +02:00
ZuluCrypto
05afd986c1 test_stellar.py - fix style issues 2018-06-28 11:57:56 +02:00
ZuluCrypto
af38407a43 stellar - add unit tests for parsing XDR 2018-06-28 11:57:56 +02:00
ZuluCrypto
4628327789 fix comment 2018-06-28 11:57:56 +02:00
ZuluCrypto
188178a438 stellar - add test for setting inflation destination 2018-06-28 11:57:56 +02:00
Pavol Rusnak
cc6cc49999
tests: re-enable Stellar for T1 2018-06-27 17:42:11 +02:00
Tomas Susanka
5f73976893 stellar: note on BIP-32 usage; address test with Stellar's official test vectors 2018-06-26 11:52:47 +02:00
matejcik
201297a1f9 tests: close debuglink in fixture-based tests 2018-06-22 14:18:18 +02:00
Pavol Rusnak
3c1456939c
tests: update test_cancel to test using Initialize 2018-06-22 13:28:32 +02:00
matejcik
f9f79b745c Merge branch '0.10.x' 2018-06-22 13:19:28 +02:00
matejcik
54f1599a5a regenerate license headers
This clarifies the intent: the project is licenced under terms
of LGPL version 3 only, but the standard headers cover only "3 or later",
so we had to rewrite them.

In the same step, we removed author information from individual files
in favor of "SatoshiLabs and contributors", and include an AUTHORS
file that lists the contributors.

Apologies to those whose names are missing; please contact us if you wish
to add your info to the AUTHORS file.
2018-06-21 16:49:13 +02:00
Tomas Susanka
10bbb57c86
tests/device: stellar accounts are addresses 2018-06-20 15:58:13 +02:00
Pavol Rusnak
b1eae58884
tests: disable Stellar tests for T1 too 2018-06-20 00:13:34 +02:00
Pavol Rusnak
3f93b28fe4
device_tests: fix test_msg_signtx_zcash 2018-06-15 10:35:28 +02:00
Tomas Susanka
ebe41c69f8 tests/stellar: trezor core currently throws Firmware err 2018-06-13 13:40:58 +02:00
Pavol Rusnak
015d72102d
device_tests: add failing tests for stellar 2018-06-11 19:22:16 +02:00
Pavol Rusnak
1477c9aa9e
trezorctl/trezorlib: add show_display to StellarGetAddress/StellarGetPublicKey 2018-06-11 18:55:52 +02:00
Tomas Susanka
22872c53c2 tests/stellar: missing field annotation 2018-06-11 18:42:23 +02:00
Tomas Susanka
d3d9ceb0c4 tests: stellar test for get address 2018-06-11 18:42:23 +02:00
Tomas Susanka
63222931be tests/device: nem is not xfail anymore 2018-06-07 14:41:47 +02:00