Tomas Susanka
3a8e46467a
ci: fix firmware versions in deploy jobs
...
We do not run before_script because we run `nix-shell` and `poetry install`
there. The deploy takes about ~5s without nix-shell and peotry and ~5m with
both so it is worth it.
2020-10-07 22:13:57 +02:00
Pavol Rusnak
9a6d891706
chore(vendor): update libopencm3
2020-10-07 17:16:01 +02:00
Pavol Rusnak
2e4d67165f
ci(nix): update nixpkgs to latest nixos-20.09 stable
2020-10-07 16:30:50 +02:00
matejcik
ade6663c6c
chore: clean up poetry requirements, use caret versions where appropriate
2020-10-07 16:21:00 +02:00
Pavol Rusnak
4fdb62c2e2
chore(python): replace pipenv with poetry
2020-10-07 16:21:00 +02:00
Pavol Rusnak
98ea241e97
ci: use alternative list syntax for needs
2020-10-06 21:59:22 +02:00
Tomas Susanka
99e0faafb6
test(core): print fixtures suggestion after the test
2020-10-06 21:17:28 +02:00
Martin Milata
7d8fbacba7
feat(legacy): add auto_lock_delay_ms to Features
2020-10-02 11:06:16 +02:00
Martin Milata
542f32d3b1
feat(core): add auto_lock_delay and display_rotation to Features
2020-10-02 11:06:16 +02:00
Martin Milata
b2c4bbdaa2
feat(common): add auto_lock_delay and display_rotation to Features
2020-10-02 11:06:16 +02:00
Tomas Susanka
225966ea7c
ci: fix date epoch in shell.nix not in Gitlab yml file
...
This way we fix also local environments for devs with NixOS.
Updates 988c7f65af
.
2020-09-30 09:29:43 +02:00
matejcik
988c7f65af
ci: appease nixos+bdist-wheel
2020-09-29 11:30:40 +02:00
matejcik
1f5c08c9a2
ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger
2020-09-29 11:30:40 +02:00
matejcik
243df6edcb
chore: bump lock files
2020-09-29 11:30:40 +02:00
matejcik
e4785d47e0
style: apply black 20.8b1
2020-09-29 11:30:40 +02:00
matejcik
6dda240f5c
test(python): add flake8-requirements
2020-09-29 11:30:40 +02:00
Rafael Korbas
2173ad97bc
Refactor t<page number> to page<page_number> in cardano get_address call
2020-09-29 08:55:28 +02:00
Rafael Korbas
66dbdc2462
Enforce network id/protocol magic consistency for cardano show address
2020-09-29 08:55:28 +02:00
Juraj Muravsky
638977db7d
Swap path with address type on screen in cardano get address
2020-09-29 08:55:28 +02:00
Martin Milata
51246ce52d
docs: add bitcoin signing to book index
2020-09-25 15:04:58 +02:00
matejcik
b16b4823d5
docs: describe Bitcoin signing
2020-09-25 13:17:03 +02:00
matejcik
46e8804477
docs(common): add comments and reserved fields to TxAck subtypes
...
this will hopefully make it more difficult to break TransactionType
compatibility
2020-09-25 12:32:44 +02:00
Tomas Susanka
59b8a5a81f
docs: add convential commits commit-msg hook
2020-09-25 09:37:36 +02:00
Pavol Rusnak
649e31cef0
chore(core/bootloader): regenerate messages with nanopb 0.4.3
2020-09-24 10:52:31 +02:00
Pavol Rusnak
71058eedd5
chore(vendor/nanopb): update nanopb from 0.4.1 to 0.4.3
2020-09-24 10:52:31 +02:00
matejcik
c9348709e8
fix(legacy/nem): use levy only if provided
2020-09-24 10:52:31 +02:00
Tomas Susanka
0317877297
chore(core): bump version to 2.3.5
2020-09-24 10:17:32 +02:00
matejcik
feb24e4282
ci(python): disable Python 3.5 in CI for now (see #810 )
2020-09-23 16:00:10 +02:00
matejcik
0eed360037
chore: make tx type names shorter
...
as suggested by @andrewkozlik:
TxAckInputType -> TxInput
TxAckOutputType -> TxOutput
TxAckPrevTxType -> PrevTx
TxAckPrevInputType -> PrevInput
TxAckPrevOutputType -> PrevOutput
2020-09-23 16:00:10 +02:00
matejcik
b6b65bffff
docs(core): update changelog
2020-09-23 16:00:10 +02:00
matejcik
01b66a5858
fix(python): always fill TransactionType.lock_time
2020-09-23 16:00:10 +02:00
matejcik
35035dabcb
ci: omit generated protobuf classes from coverage report
2020-09-23 16:00:10 +02:00
matejcik
5debebefc8
chore(legacy): update code to handle protobuf changes correctly
2020-09-23 16:00:10 +02:00
matejcik
9ee7eee1eb
chore!(python): bump trezorlib version because of breaking API change
2020-09-23 16:00:10 +02:00
matejcik
8b2e46eb2d
chore(core): update unit tests to kwargs usage and new TxAck subtypes
2020-09-23 16:00:10 +02:00
matejcik
d89c42e139
feat(core): add more mypy targets
2020-09-23 16:00:10 +02:00
matejcik
08d896f2f9
chore(tests): update to kwargs usage and new btc.sign_tx API
2020-09-23 16:00:10 +02:00
matejcik
b41021a5fb
chore(python): fix kwargs usage
2020-09-23 16:00:10 +02:00
matejcik
5ddf1dfafb
feat!(python): modify btc.sign_tx api to accept kwargs
...
Because we can't pass SignTx anymore because it has required fields and
the caller is not supposed to fill out those.
Instead you can send arbitrary kwargs that match signtx fields.
BREAKING CHANGE: argument `details: SignTx` is no longer accepted.
2020-09-23 16:00:10 +02:00
matejcik
244b264b47
chore(core): fix typing and kwargs usage
2020-09-23 16:00:10 +02:00
matejcik
ef4022fbf5
auto: regenerate protobuf classes
2020-09-23 16:00:10 +02:00
matejcik
37025e2a84
feat(core): use specialized protobufs in apps.bitcoin, enable typing
2020-09-23 16:00:10 +02:00
matejcik
b0a2297b14
feat(core): convert protobuf decoding errors to DataErrors
2020-09-23 16:00:10 +02:00
matejcik
6ba08526e1
fix(core): fix type annotations on CoinInfo
2020-09-23 16:00:10 +02:00
matejcik
7e5d9e295b
fix(core): help mypy understand micropython's module management
2020-09-23 16:00:10 +02:00
matejcik
396de3f05e
feat(common): add more required fields
2020-09-23 16:00:10 +02:00
matejcik
185c2ac17d
feat(common): specialize TxAck messages, add more required fields
2020-09-23 16:00:10 +02:00
matejcik
8847c58bbf
feat(common): allow overriding wire_type of a generated message
2020-09-23 16:00:10 +02:00
matejcik
90ee5f3d38
feat!: implement protobuf required fields and default values
...
BREAKING CHANGE: this makes arguments to protobuf constructors
keyword-only, and arguments corresponding to required fields are now
mandatory
2020-09-23 16:00:10 +02:00
Pavol Rusnak
0799b64b29
chore(common/defs): regenerate coins_details.json
2020-09-23 11:46:26 +02:00