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

1346 Commits

Author SHA1 Message Date
Pavol Rusnak
045c078a50
tests: reduce test_protect_call.py duration from 26 seconds to 5 2018-09-12 20:37:12 +02:00
Pavol Rusnak
6074903d6b
tests: regenerate decred signing tests
because decred people wanted to change bip32_name
in 0b0f01fb59
2018-09-12 19:33:15 +02:00
Adrián Matejov
15df848b05 added Tezos support (#302)
* also added device tests for tezos

Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>

We also pushed signed operations to betanet network and they got accepted.
Here's the list of them
* transaction tz1 http://tzscan.io/ong8MQBX595Ld4dteHCbPqd6uzmEorEft6ZvfiX5vQMX4WHRh7K
* transaction tz2 http://tzscan.io/ooHZ2vbFX1M1fmr9KpLPWQ8r6oZB2RikpGBXsoQSZfbV1hWVjCP
* transaction tz3 http://tzscan.io/op79uLwaFqNB6SgcaAaJtoHFBQk3mL5bC1BQTvYzwX2DVSr8RJG

* origination tz1 http://tzscan.io/ooJg7qXtUjh16AtdSvv5kgaQnxjtAiBysFkG3EaG5qPAuDT1Cym contract http://tzscan.io/KT1VakcExcig27ZAuoLTExgGXtvUsykQSf5R
* origination tz2 http://tzscan.io/opDrUvCGUwKeu86b7GbRLeVzAkyKkdfnV9aSGAzGDLYYS11m6Qr contract http://tzscan.io/KT1LdQeHBSpvvzdRH495qHmtagavZcZ9Z5GW
* origination tz3 http://tzscan.io/opVWtfwvSvHzC6hsSGG31G23Q6nBov8SSvmA2nYXBNc5fWGk3Bg contract http://tzscan.io/KT1VfKfsgKFEfZ5vZUaZNaZyGrQf1gr1MEqr

* delegation tz1 http://tzscan.io/onws37YkYRnUvwYiPqYATZFtBVhBwbS2rdPkQjFGbAfLzt82MGa
* delegation tz2 http://tzscan.io/oocKfbotJwN5Zvmoybhb9LUJ6VhmeS42G2oZHaXQ2mXm98Rzx8r
* delegation tz3 http://tzscan.io/ooFQBcoMzwseJHnFgQ9fEPxAXhtgifuvvEH1CtmyAtnK5R7Drik

* transaction+reveal tz2 http://tzscan.io/ooEyN4FxP8RYh98RJgQxposDUuWHLWT8fUzWawNRCsMGxaNAN9c
* transaction+reveal tz3 http://tzscan.io/ooLaWQzZj1cbkMjZAifV71QCu5bdbMtET5CabrzLWQmnGMMhwmE
2018-09-10 16:40:31 +02:00
matejcik
cb4c366ce9 device_tests: add signtx expected responses generator 2018-09-10 16:02:17 +02:00
Pavol Rusnak
51f178ef1a
tests: cleanup CardanoGetPublicKey test 2018-09-07 19:22:57 +02:00
Pavol Rusnak
5ef0c4d4cc
vendor: update trezor-common 2018-09-07 19:12:22 +02:00
Pavol Rusnak
75859eb8b6
vendor: update trezor-common 2018-09-07 17:38:49 +02:00
Tomas Susanka
ea77deeaed tests: xfail marks removed 2018-09-07 17:21:41 +02:00
Tomas Susanka
5fadcb6b06 tests/ontology redundant swipe removed
This bug caused other tests (resetdevice_t2 in particular) to fail. This
is because the test made one more swipe than was supposed to. This led to
a failure in resetdevice tests, which do swipes as well and read data
returned, which did not fit due to the redundant swipe.
2018-09-07 16:33:16 +02:00
Pavol Rusnak
949438f4c5
tests: add script_type test to getpublickey test 2018-09-06 19:05:53 +02:00
Dušan Plavák
bd6bcf7dfa Add network param to cardano sign tx (#306) 2018-09-06 17:25:55 +02:00
matejcik
305cb55d02 style: reformat client.py 2018-09-06 17:09:37 +02:00
matejcik
3f40a67c61 vendor: update trezor-common with fixed protobuf definitions 2018-09-06 17:08:57 +02:00
Pavol Rusnak
434f279069
use implicit encoding in encode/decode 2018-09-06 16:22:38 +02:00
Matus Zamborsky
21326d3a41 add Ontology support (#301)
* add Ontology support

Signed-off-by: Matus Zamborsky <zamborsky@gmail.com>
2018-09-06 15:36:44 +02:00
Tomas Susanka
4f572f9e15 cardano: remove sign/verify functions 2018-09-06 14:54:06 +02:00
Pavol Rusnak
936f5180e9
vendor: update trezor-common 2018-09-05 17:02:08 +02:00
matejcik
351c017583 style: more known_third_party modules
because frankly, isort's detection is a huge mess
2018-09-05 15:43:29 +02:00
Pavol Rusnak
555bb62e3f
btc: add script_type to get_public_node 2018-09-05 15:21:11 +02:00
Dušan Plavák
fb22b894ba Add cardano support to trezorctl and some tests (#300)
Add cardano support to trezorctl and some tests
2018-09-05 14:56:31 +02:00
Tomas Susanka
6c15a41514 tests: ripple fix 2018-09-05 10:42:32 +02:00
matejcik
80766ca6b3 tests: xfail Stellar on T1 until we re-enable it 2018-09-04 16:14:29 +02:00
matejcik
d235875e5e build: support new tooling in trezor-common 2018-09-04 15:51:38 +02:00
matejcik
e5c2329b80 client: drop stellar_get_public_key from compatibility links 2018-09-04 15:51:38 +02:00
matejcik
3ccef14bb6 build: apply make style to setup.py too 2018-09-03 15:45:34 +02:00
matejcik
e8e61861f6 Merge branch 'develop' 2018-09-03 15:41:07 +02:00
matejcik
372a81b9ef build: add phony targets to makefile, to rerun anytime
also add excludes to `autoflake`, otherwise it mangles
`messages/__init__.py`
2018-09-03 15:38:50 +02:00
matejcik
1de1ff2823 tx_api: fix issue on python < 3.5 2018-09-03 14:59:39 +02:00
matejcik
0f71cbcc44 tx_api: update to assume "/api" path again, let blockHash request be
cached
2018-09-03 14:59:29 +02:00
Tomas Susanka
88a02822d3 stellar: public key methods removed 2018-09-03 14:57:10 +02:00
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
b5ef996b1d tx_api: fix issue on python < 3.5 2018-08-21 19:11:29 +02:00
matejcik
2559295f40 tx_api: update to assume "/api" path again, let blockHash request be
cached
2018-08-21 18:56:25 +02:00
matejcik
b4d001fe4d travis: drop python 3.3 and related workarounds from CI
We still technically support Python 3.3 as our code doesn't use
any Python 3.4 features.
(honestly, there are basically no python 3.4 features worth talking
about -- although of course, you should update just for TLS 1.2 support)
It's just that the whole ecosystem is moving away from py3.3
and I'm tired of making workarounds for pip, virtualenv and friends
simply refusing to accomodate.
2018-08-21 18:13:53 +02:00
matejcik
f880ba933f style: explain to isort that we use third party libraries and which they
are, since it apparently cannot figure that out on its own
2018-08-21 17:55:33 +02:00
matejcik
175148e77c style: be more explicit about wrongly sorted imports 2018-08-21 16:53:17 +02:00
matejcik
f30ea76d24 build: do not require pip in requirements.txt
it makes little sense and breaks python3.3 for mysterious reasons

(the "mysterious" reason is that everyone dropped support for py3.3
and so dependencies are messed up)
2018-08-21 16:50:45 +02:00
matejcik
f9824739ae travis: make sure stylecheck only runs on 3.6 2018-08-21 16:47:30 +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
abf0e82d80 trezorlib: implement auto-creating protobuf messages from dicts
along with a convert_dict function to rename keys from camelCase
and optionally apply simple field renames
2018-08-21 16:02:15 +02:00
matejcik
f05f9a2b37 nem: make a clearer flow for create_sign_tx 2018-08-21 15:57:50 +02:00
Tomas Susanka
9f825735ed stellar: public key methods removed 2018-08-21 14:52:00 +02:00
Tomas Susanka
ea685bea47 vendor: trezor-common updated 2018-08-21 14:48:21 +02:00
Pavol Rusnak
3aeb34f456
tests: fix eip155 test 2018-08-20 15:51:31 +02:00
HackyMiner
b938c52e85 add more eip155 test cases (#297) 2018-08-15 11:31:30 +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
ae5341c1bd style: common config for flake8 and isort 2018-08-10 16:08:30 +02:00