Andrew Kozlik
2f03ace311
chore(common): Rename "unstable" protobuf tag to "experimental_message".
...
[no changelog]
(cherry picked from commit 3d645d609a
)
2022-11-02 14:59:22 +01:00
Andrew Kozlik
8ef8e57029
chore(common): Remove unstable flag from AuthorizeCoinJoin.
...
(cherry picked from commit 07e6e7b8b0
)
2022-11-02 14:59:22 +01:00
Andrew Kozlik
3d645d609a
chore(common): Rename "unstable" protobuf tag to "experimental_message".
...
[no changelog]
2022-11-02 14:58:01 +01:00
Andrew Kozlik
07e6e7b8b0
chore(common): Remove unstable flag from AuthorizeCoinJoin.
2022-11-02 14:58:01 +01:00
Martin Milata
2dcf09db34
chore(common): update chains and tokens
2022-11-02 12:03:22 +01:00
Martin Milata
eff8e08a9c
chore(common): update chains and tokens
2022-11-01 21:02:41 +01:00
Simon Males
e4bc37f10b
chore: update tokens & networks
2022-11-01 14:56:19 +01:00
matejcik
ce307c9484
feat(common): mark CoSi fields as required
...
[no changelog]
2022-11-01 14:56:00 +01:00
grdddj
47a749d683
chore(proto): remove default value from NEM payload
...
[no changelog]
2022-11-01 10:57:27 +01:00
David Misiak
c36870defa
chore(cardano): rename Catalyst to governance
2022-10-31 16:08:39 +01:00
David Misiak
ab02f7a400
feat(cardano): add support for CIP36 Catalyst registration format
2022-10-31 16:08:39 +01:00
Andrew Kozlik
c7fb908146
chore: Change precision of CoinJoin fee rate percentage from 8 to 6 decimal digits.
2022-10-27 17:37:48 +02:00
Andrew Kozlik
afd900f9b1
feat(common): Add CoinJoin request message.
...
[no changelog]
2022-10-27 17:37:48 +02:00
Andrew Kozlik
a1a34774b8
fix(common): Fix handling of default booleans in protobuf.
2022-10-17 15:20:46 +02:00
Andrew Kozlik
5b453c88ed
feat(core): Add serialize option to SignTx.
2022-10-17 15:20:46 +02:00
Pavol Rusnak
029e47e1e8
chore(common/defs/fido): add proton
...
[no changelog]
2022-10-17 12:02:54 +02:00
Vladyslav Burzakovskyy
e7ff43272c
chore(common/defs/fido): add invity
...
[no changelog]
2022-10-14 16:28:51 +02:00
Andrew Kozlik
77be3653b4
feat(core): Implement SLIP-0025 CoinJoin accounts.
2022-08-30 15:53:44 +02:00
Andrew Kozlik
9d89c3cb1b
feat(common): Add UnlockPath message.
...
[no changelog]
2022-08-30 15:53:44 +02:00
Andrew Kozlik
792dadfc4d
feat(common): Add SetBusy message.
...
[no changelog]
2022-08-22 18:15:29 +02:00
Andrew Kozlik
ad5a572b75
chore(common): Deprecate data field in CosiCommit message.
2022-08-02 20:38:04 +02:00
matejcik
a6410693b3
Revert "feat(core): implement firmware dumping"
...
This reverts commit 37c61c1381
.
2022-08-02 17:12:07 +02:00
matejcik
00095c5787
chore: update tokens & networks
2022-08-02 13:57:31 +02:00
matejcik
c2d8623039
fix(common): improve testnet detection for ethereum
2022-08-02 13:57:31 +02:00
gabrielkerekes
f2be6b9d91
chore(cardano): add show_details
tests
2022-07-04 15:58:27 +02:00
David Misiak
b0d27f9059
chore(cardano): update tests
2022-07-04 15:58:27 +02:00
David Misiak
99a7c48e64
feat(cardano): add babbage data types
2022-07-04 15:58:27 +02:00
matejcik
8c3d3c6548
chore: bump black to 22.3
...
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed
[no changelog]
2022-06-29 14:35:16 +02:00
Pavol Rusnak
95daa2fda3
chore(common/defs): replace consensus_branch_id with overwintered bool flag
...
[no changelog]
2022-06-27 12:39:03 +02:00
mcudev
1ec62e9c86
common/defs/fido: update fastmail
2022-06-27 11:09:31 +02:00
mcudev
7d37109eb8
common/defs/fido: add cloudflare
2022-06-14 15:12:51 +02:00
Pavol Rusnak
dff5bdced0
chore(common): add Consensus Branch ID for Zcash Testnet NU5
...
[no changelog]
2022-06-02 12:31:43 +02:00
Pavol Rusnak
59f78d06b1
chore(common/defs/fido): add kraken
...
[no changelog]
2022-06-01 14:52:15 +02:00
Pavol Rusnak
ea35f46f5f
chore(common): add Consensus Branch ID for Zcash NU5
...
[no changelog]
2022-05-30 16:14:03 +02:00
grdddj
82622adf6f
fix(tools): modify type-hints to be compatible with older python versions
2022-05-30 14:41:32 +02:00
grdddj
9261f2ffce
feat(common): add wallet info to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
08f463e5e8
chore(common): small improvements to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
519f79f9eb
chore(common): add type hints to some coin tools scripts
...
Type-checking tools are still complaining at some places about inconsistencies.
It would be too much effort to make them completely happy.
2022-05-26 12:18:40 +02:00
David Misiak
a1eaa465aa
chore(cardano): remove legacy types
2022-05-23 11:08:52 +02:00
Martin Milata
c5f1bec474
Merge branch 'release/22.05'
2022-05-18 12:43:53 +02:00
Dusan Klinec
5e6582a3fe
feat(xmr): add support for HF15, BP+
2022-05-16 12:37:24 +02:00
Dusan Klinec
33c174491f
refactor(core/monero): Monero code cleanup
...
* remove support for HF12 and below
* remove MLSAG support
* clean up monero cryptography naming
* get rid of "optional first argument" pattern, in favor of mandatory argument that is allowed to be None
(and fix several bugs related to this feature)
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
Co-authored-by: Martin Milata <martin@martinmilata.cz>
Co-authored-by: matejcik <ja@matejcik.cz>
2022-05-16 12:37:24 +02:00
Martin Milata
29bab9e8a4
chore(common): update chains and tokens
2022-05-03 23:00:25 +02:00
Martin Milata
78feb5fe03
chore(common): update coin support status
2022-05-03 23:00:25 +02:00
matejcik
37c61c1381
feat(core): implement firmware dumping
2022-05-03 19:00:04 +02:00
Andrew Kozlik
6fe2d76dc1
feat(common): Add GetFirmwareHash message.
2022-05-03 19:00:04 +02:00
matejcik
7295d2ee1e
fix(common/tools): coin must be either supported or unsupported
2022-03-25 14:27:30 +01:00
Pavol Rusnak
334f7bbbe6
chore(common): defs cleanup
...
- drop Gamecredits - they became an ERC-20 token in 2020
- drop Nix - dead coin
- drop Polis - coin became a BEP-20 token and later Olympus network in 2021
2022-03-25 14:27:30 +01:00
David Misiak
1f20c49536
feat(cardano): allow device-owned outputs in plutus txs
2022-03-18 14:32:54 +01:00
David Misiak
9f9535abb3
feat(cardano): add key hash stake credentials
2022-03-18 14:32:54 +01:00
David Misiak
2262602967
feat(cardano): add support for plutus transactions
2022-03-18 14:32:54 +01:00
David Misiak
1388912762
fix(cardano): add map key canonical order validation
2022-03-18 14:32:54 +01:00
David Misiak
143af80aea
fix(cardano): add input validation
2022-03-18 14:32:54 +01:00
David Misiak
48587d83fe
feat(cardano): add support for output datum hash and script data hash
2022-03-18 14:32:54 +01:00
David Misiak
2b3a53a6ae
feat(cardano): add support for network id in tx body
2022-03-18 14:32:54 +01:00
Andrew Kozlik
8be6689150
chore(common): Rework AuthorizeCoinJoin message parameters.
...
[no changelog]
2022-03-17 15:46:01 +01:00
matejcik
0b9f7db742
fix(core): support structs as array elements ( fixes #2167 )
2022-03-10 13:04:54 +01:00
Pavol Rusnak
47e2193e3b
fix(common): update defs for cardano
...
[no changelog]
2022-03-08 12:54:27 +01:00
grdddj
42fab282af
chore(common): include error explanation in protobuf messages check
2022-03-08 10:25:50 +01:00
Pavol Rusnak
d48aa2637f
fix(common): fix broken nem urls
2022-03-02 13:15:24 +01:00
slowbackspace
b22c0a0c81
fix: cardano testnet coin_type
2022-02-24 22:45:56 +01:00
grdddj
464bc0e3c5
chore(common): change decred block times in defs
2022-02-11 14:17:19 +01:00
matejcik
310b6c5217
fix(legacy): support Success and Failure for debuglink
2022-02-10 14:48:11 +01:00
grdddj
5d76144ef5
chore(common): always use resolve() when accessing parent of the Path
...
[no changelog]
2022-02-07 14:05:27 +01:00
Andrew Kozlik
42ace2aed8
chore(common): Mark new messages related to payment requests as unstable.
2022-01-31 18:00:22 +01:00
Andrew Kozlik
d0c3a6a2fa
chore(core): Add mac field to Address message.
...
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
0959947a88
chore(common): Add GetNonce, Nonce and TxAckPaymentRequest message.
...
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
ba4f046d6f
feat(common): Add INFO button to DebugLinkDecision.
...
[no changelog]
2022-01-27 13:15:04 +01:00
Martin Milata
98b1159b0b
Merge branch 'release/22.01'
...
Conflicts:
core/src/apps/ethereum/tokens.py
2022-01-19 15:24:51 +01:00
Alois Klink
5c4703c9bb
fix(core,legacy): Fix domain-only ethTypedData
...
When doing Ethereum signTypedData, and the primaryType="EIP712Domain",
we completely ignore the "message" part and only sign the domain.
According to the community, this is technically allowed by the spec,
and may be used by ETH smart contracts to save on gas.
Test case generated by @MetaMask/eth-sig-util's library.
See: https://ethereum-magicians.org/t/eip-712-standards-clarification-primarytype-as-domaintype/3286
2022-01-14 14:22:46 +01:00
Andrew Kozlik
88a08e3512
chore(core): Increase maximum CoinJoin coordinator name length to 36 (2 lines).
2022-01-10 11:14:36 +01:00
grdddj
9fc5bb546b
style(core): full pyright-based type-checking
...
Changes many fields to required -- as far as we were able to figure out,
signing would fail if these fields aren't provided anyway, so this
should not pose a compatibility problem.
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-07 21:41:17 +01:00
FujiCoin
33c243be8d
feat(common): enable taproot for Fujicoin, fix xpub versions
...
* fix fujicoin params
* add test_fujicoin/test_send_p2tr
* fix test
* fix serialized_tx.hex()
* Recreated based on a new transaction
* make gen, some fixes
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-05 12:43:34 +01:00
Pavol Rusnak
b0e0280465
chore: drop obsolete fw_vendor_keys field from Features
...
[no changelog]
2022-01-03 14:23:58 +01:00
Martin Milata
3f12742669
chore(common): update coin support status
2021-12-28 12:42:43 +01:00
Martin Milata
c0dbcf37e4
chore(common): update chains and tokens
2021-12-28 12:42:43 +01:00
gruve-p
3ab036a1d1
feat(common): enable Taproot on Groestlcoin
...
Add additional device tests for GRS
Add P2TR GetAddress for GRS mainnet and testnet
Add SignTX spending taproot UTXO (The resulting transaction from the SignTx device test was successfully mined on Testnet.)
2021-12-20 22:49:36 +01:00
matejcik
d2ac4e7a9c
feat(tests): add tests for blind EIP-712 signing
...
Co-authored-by: Martin Milata <martin@martinmilata.cz>
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
2021-12-19 20:36:30 +01:00
Alisina Bahadori
77ab865386
feat(legacy): Implement EIP-712 signing
2021-12-19 20:36:30 +01:00
Vladimir Volek
e6da3ceb7b
chore: add Cardano testnet support definitions
2021-12-15 14:10:52 +01:00
Vladimir Volek
e2eb46f62c
fix: slip44 testnet
2021-12-15 14:10:52 +01:00
Vladimir Volek
0f0150a6f8
feat: add cardano testnet definitions
2021-12-15 14:10:52 +01:00
Szymon Lesisz
60fe007ed2
chore(common): update DOGE fees
...
https://github.com/dogecoin/dogecoin/blob/master/doc/fee-recommendation.md#dust-limits
- default fee 1000 (0.01) DOGE
- min fee 100 (0.001) DOGE
- dust limit 1000 (0.01) DOGE
2021-11-29 14:59:47 +01:00
Szymon Lesisz
969f913e78
chore(common): update suite support
...
removed coins not supported in suite
2021-11-29 14:59:47 +01:00
Szymon Lesisz
455268a2d3
chore(common): connect support for Regtest and Decred
2021-11-29 14:59:47 +01:00
grdddj
77afcb335b
chore(python): replacing attrs with dataclasses
2021-11-26 16:28:49 +01:00
matejcik
a1a1a7a36c
fix(proto): fix typo in previous commit
2021-11-19 15:03:33 +01:00
mroz
6c7e4a520d
chore(proto): backwards compatibility changes for protobuf defs
2021-11-19 12:12:42 +01:00
matejcik
fd0d1ed871
git subrepo push common
...
subrepo:
subdir: "common"
merged: "d84a6fcaf"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "d84a6fcaf"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-11-11 15:05:17 +01:00
Andrew Kozlik
c2f1850abb
feat(common): Add no_script_type option to SignMessage.
2021-11-10 17:35:57 +01:00
matejcik
2c20016cfa
tests: add tests for different Cardano derivations
2021-11-10 13:57:57 +01:00
matejcik
10e338e005
feat(core/cardano): allow derivation type selection
2021-11-10 13:57:57 +01:00
matejcik
8caac218ec
feat(core/cardano): indicate whether Cardano seed should be derived
2021-11-10 13:57:57 +01:00
matejcik
bc75d05772
chore(common/defs/fido): add coinbase u2f
...
[no changelog]
2021-11-08 15:55:01 +01:00
matejcik
57fbf7aa61
git subrepo push common
...
subrepo:
subdir: "common"
merged: "32a5a9045"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "32a5a9045"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-11-04 13:54:36 +01:00
Jun Luo
62b649ef5d
refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp.
2021-11-04 13:16:29 +01:00
Jun Luo
d064aae3f9
feat(common & core & legacy): Stellar, add support for StellarPathPaymentStrictSendOp.
2021-11-04 13:16:29 +01:00
Jun Luo
1dcb8e4913
feat(common & core & legacy): Stellar, add support for StellarManageBuyOfferOp.
2021-11-04 13:16:29 +01:00
Jun Luo
3a5768c4bf
refactor(common & core & legacy): Stellar, rename StellarManageOfferOp to StellarManageSellOfferOp and rename StellarPathPaymentOp to StellarPathPaymentStrictReceiveOp.
2021-11-04 13:16:29 +01:00
Martin Milata
1979bcc39c
chore(common): bring back eth:xDAI
2021-11-02 15:05:14 +01:00
grdddj
73238135d6
feat(core/ethereum): EIP-712
...
Based on original contribution by Max Kupriianov <xlab@hey.com>
Implemented EIP-712 typed data signatures in Ethereum app.
Add eth_abi into pyproject deps
device test for EIP 712
fixed hex decoding for address
fixup! fixed hex decoding for address
code quality, more pythonic code, removing unused imports
running black and isort on changed files
trezorctl file input for EIP 712 data signing
fixup! code quality, more pythonic code, removing unused imports
fixup! fixup! code quality, more pythonic code, removing unused imports
necessary changes after rebase to master
unit tests for sign_typed_data.py
new protobuf messages, working for nonarray types
simplified and verified solution for our simple data
support for simple arrays, without their confirmation
reverting protobuf value messages to bytes, appropriate changes
showing arrays in Trezor, code quality improvements
data validation on Trezor, minor improvements
using custom types for storing type data instead of dicts, addressing feedback from review
moving helper functions to its own file, tests for decode_data
additional overall tests
support for arrays of structs
adding support for metamask_v4_compat variable
using HashWriter object to collect the final hash continously
minor improvements in code quality
validate_field_type function
streaming values from client without saving them, missing UI
prototype of streamed UI using confirm_properties
accounting for bytes in data, more data types in integration tests
rebase on master, using f-strings
minor fixes and improvements from code review
StructHasher class for the whole hashing process
mypy and style changes
asking users whether to show structs and arrays
protobuf descriptions to fix make defs_check
unifying comments, mypy fix
unit tests for StructHasher class
UI fixtures, skipping device tests for T1
addressing majority of code review comments about code quality and structure
changing file structure - layouts, helpers, sign_typed_data
decode_data renaming and docstring, renaming unit test file
using tuples instead of lists in elifs
layout improvements
excluding core/src/apps/common/confirm.py file from the PR
True/False returning layout with Show more button
code review layout improvements
forgotten br_type argument to should_show_more
2021-11-02 14:27:01 +01:00
Martin Milata
9a7e6c2900
chore(common): update chains and tokens
2021-11-01 16:43:02 +01:00
Vladimir Volek
bc13566d7b
fix(common): cardano blockfrost definitions ( #1879 )
2021-11-01 14:21:07 +01:00
Martin Milata
ea1b7fbd54
chore(common): update chains and tokens
2021-11-01 13:58:48 +01:00
Martin Milata
87cc44e73a
chore(common): update coins support status
...
[no changelog]
2021-11-01 13:58:48 +01:00
matejcik
e972839ac7
style(all): fix pylint complaints
...
[no changelog]
2021-10-27 13:13:15 +02:00
Pavol Rusnak
b2ff86ff3a
fix(common): drop unusable coins BELL and ZNY ( #1872 )
...
there are no wallets that support Trezor and these coins
2021-10-26 13:09:34 +02:00
Pavol Rusnak
7b2825e68e
fix(common): rebrand brhodium to xrhodium
2021-10-26 12:01:08 +02:00
David Misiak
13c4fb97df
fix(cardano): forbid multisig pool registration [no changelog]
2021-10-19 15:25:39 +02:00
Andrew Kozlik
13cbb59082
feat(common): Add script_pubkey field to TxInput message.
2021-10-18 19:58:56 +02:00
Pavol Rusnak
dbc464750b
feat(common): enable Taproot on Bitcoin
2021-10-18 13:36:05 +02:00
Pavol Rusnak
ac4cb88184
feat(common): add taproot field to coin definitions
...
enable for Bitcoin Testnet and Bitcoin Regtest
2021-10-18 13:36:05 +02:00
Pavol Rusnak
4ed9f00c73
feat(common): add support for Taproot input and output scripts
2021-10-18 13:36:05 +02:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
gabrielkerekes
b957dfbddb
chore(cardano): improve get_native_script_hash tests and update ui fixtures
2021-10-11 15:16:24 +02:00
gabrielkerekes
1f33ab420d
feat(cardano): update transaction signing for multisig
2021-10-11 15:16:24 +02:00
gabrielkerekes
21281d7cf4
feat(cardano): add support for script addresses derivation
2021-10-11 15:16:24 +02:00
gabrielkerekes
dd9652cd07
feat(cardano): add get-native-script-hash call
2021-10-11 15:16:24 +02:00
gabrielkerekes
54909681a8
feat(cardano): add support for 1854 and 1855 path roots
2021-10-11 15:16:24 +02:00
Martin Milata
13417d7e5a
refactor(common/protob): make bitcoin_only options file-level
2021-10-07 15:26:49 +02:00
Pavol Rusnak
5deee2ed00
feat(common): update XDC wallet
2021-10-05 12:21:51 +02:00
matejcik
cb6934a490
git subrepo push common
...
subrepo:
subdir: "common"
merged: "568b4b9c7"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "568b4b9c7"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-09-24 10:32:58 +02:00
matejcik
f484c42d41
refactor(tests): use common Stellar fixtures in tests
...
All test cases are generated and verified in Stellar Laboratory.
Source XDR is also tested to match the vectors, and it is easy to verify
in Laboratory directly.
2021-09-24 10:30:19 +02:00
matejcik
b96adcac5c
feat(common): add Stellar fixtures in json
2021-09-24 10:30:19 +02:00
matejcik
1dcfdebf7a
feat(all): make Stellar timebounds required
2021-09-24 10:30:19 +02:00
matejcik
1b601b3e08
feat(common): strong typing for Stellar protobuf messages
...
BREAKING CHANGE: StellarAssetType is renamed to StellarAsset.
The name StellarAssetType is reused for the corresponding enum.
Enums are introduced in several other places. Their values correspond to
allowed values of (previously int) fields so this should not pose a
compatibility problem.
Many fields are now required. We believe that this should not pose a
compatibility problem, because all known interfaces to Stellar signing
actually accept Stellar XDR on input, whose required fields match the
protobuf schema.
2021-09-24 10:30:19 +02:00
matejcik
dea5778d39
chore(common): regenerate coins_details
2021-09-20 15:49:11 +02:00
matejcik
d329052334
feat(common): remove "soon" as support status
2021-09-20 15:49:11 +02:00
grdddj
1a291660e5
chore(tests): improving consistency of ethereum fixtures
2021-09-20 13:04:56 +02:00
matejcik
5bc3e353e0
git subrepo push common
...
subrepo:
subdir: "common"
merged: "84250b70a"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "84250b70a"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-09-13 14:27:55 +02:00
matejcik
8931450d21
chore(common): enable Palm network
2021-09-10 15:09:03 +02:00
matejcik
30b08d949b
feat(common): add default values to EthereumSignTx fields
...
so that we can avoid Optional types for fields
2021-09-10 15:09:03 +02:00
matejcik
96ed53cc1c
refactor(core,legacy): remove Wanchain special handling
...
now that Wanchain has proper chainID and we don't need to detect it by
magic.
[no changelog]
2021-09-10 15:09:03 +02:00
matejcik
639406b01f
feat(all): make chain_id mandatory
2021-09-10 15:09:03 +02:00
arbitrarylink
f051225730
feat(core,legacy): add support for Ethereum 64-bit chain_id
...
* Changes from original PR
* Now that we are rejecting chain_ids of 0, we need to have the tests set the chain_ids to at least 1.
* Ran 'make gen' and uploaded changed files.
* Ran make style_check and fixed reported errors
* Added changelog files
* Reverted changes concerning chain_id 0 being rejected.
* Adds tests for MAX_CHAIN_ID and MAX_CHAIN_ID+1. Also reverts MAX_CHAIN_ID to the previous value.
* Added missing whitespace around arithmetic operator.
Co-authored-by: Michael Hatton <michaelhatton@Michaels-Mini.fios-router.home>
2021-09-10 15:09:03 +02:00
grdddj
6f1005b155
chore(tests): vectorizing and creating JSON fixtures for ethereum device tests
2021-09-02 10:28:26 +02:00
matejcik
eb34c0850e
fix(common): regenerate support data
...
[no changelog]
2021-08-27 13:38:45 +02:00
matejcik
c65124c320
fix(common): add coins_details to release.sh
...
so that we know if we're delisting something by mistake
2021-08-27 13:38:45 +02:00
matejcik
417b33ba78
feat(common): better checks for delisted tokens
2021-08-27 13:38:45 +02:00
matejcik
174985619d
chore(common): bump chains and tokens for release
2021-08-24 13:14:06 +02:00
matejcik
75a007177e
fix(common): remove Ontology from misc, the impl is missing
2021-08-24 13:14:06 +02:00
matejcik
2173f6cec7
feat(common): create release script
2021-08-24 13:14:06 +02:00
matejcik
8dd7ad3c3e
fix(common): remove Wanchain from misc (it is now eth:WAN)
2021-08-24 13:14:06 +02:00
matejcik
7aed8d535d
feat(all): re-enable Firo ( fixes #1767 )
2021-08-23 11:43:57 +02:00
gabrielkerekes
7c3b5c86a5
fix(cardano): forbid mixing paths from multiple accounts in a single transaction
2021-08-20 11:50:13 +02:00
gabrielkerekes
500d29f43b
chore(cardano): format test fixture files
2021-08-20 11:50:13 +02:00
gabrielkerekes
28f0f60295
feat(cardano): update tests for streamed tx signing
2021-08-20 11:50:13 +02:00
gabrielkerekes
d2a5be4e38
feat(cardano): prepare protobuf messages for streamed tx signing
2021-08-20 11:50:13 +02:00
matejcik
abc347d4ca
chore(common): remove Lisk
2021-08-19 10:25:41 +02:00
matejcik
a1c37cac59
git subrepo push common
...
subrepo:
subdir: "common"
merged: "8335ee632"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "8335ee632"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-08-10 11:48:58 +02:00
Frederik Bolding
38fa9197ca
feat(core,python): support for Ethereum EIP1559 transactions
...
Initial EIP1559 implementation
Fix a few small issues
Progress on Python lib implementation and firmware
Fix RLP length
Start fixing tests
Fix legacy transactions
Simplify API and logic
Add EIP1559 tests
Fix access list formatting
Fix UI visiblity issue
Fix commented out code
fix: correct linting issues
Fix access_list protobuf formatting
Remove unneeded code
Remove dead code
Check tx_type bounds for EIP 2718
Reduce code duplication
Prefer eip2718_type over re-using tx_type
Add more tests
Simplify format_access_list
Simplify sign_tx slightly
Change Access List format and add logic to encode it
Fix a bunch of small PR comments
Fix a linting issue
Move tests out of class and regenerate
Remove copy-pasted comments
Add access list to CLI
Simplify _parse_access_list_item
Fix small mistakes following rebase
Fix linting
Refactor to use a separate message for EIP 1559 tx
Simplify changed legacy code
Fix a few small PR comments
Fix linting
fix(legacy): recognize SignTxEIP1559 on legacy build
Fix PR comments
2021-08-10 11:00:29 +02:00
gabrielkerekes
4f7c6b3586
feat(common): change all protobuf message type hints to strings
...
In order to support recursive protobuf messages, which will be needed by Cardano's native scripts.
[no changelog]
2021-08-05 12:10:30 +02:00
matejcik
9ab1891b22
feat(common): more required fields in messages-management
...
[no changelog]
2021-08-04 15:03:11 +02:00
Andrew Kozlik
7277a49047
fix(common): Add new rpId to Binance's FIDO definition.
2021-07-21 13:19:16 +02:00
Martin Milata
0d251fc01a
Merge branch 'release/21.07'
2021-07-16 14:34:20 +02:00
matejcik
8e6a647e89
fix(core): do not send ButtonRequest on every paging event
...
partial revert of 54db2291f2
from #1671
(cherry picked from commit 1e1963f1ee
)
2021-07-12 00:39:54 +02:00
matejcik
1e1963f1ee
fix(core): do not send ButtonRequest on every paging event
...
partial revert of 54db2291f2
from #1671
2021-07-09 15:00:29 +02:00
Szymon Lesisz
66bf309fbf
fix(common): fix Ropsten key in blockchain_link
...
additionally updated support in suite (trop, xrp, txrp)
2021-07-07 14:46:53 +02:00
Andrew Kozlik
3f647f1b7b
chore(common): Ensure that testnet coins use slip44 coin type 1.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
c067618828
fix(common): Fix incorrect SLIP-44 coin type for Bgold and SmartCash Testnets.
2021-06-30 18:25:58 +02:00
gabrielkerekes
db657615f4
fix(cardano): use OrderedMap for output tokens and withdrawals
2021-06-24 08:24:47 +02:00
gabrielkerekes
4e5772662c
fix(cardano): don't allow duplicate withdrawals
2021-06-24 08:24:42 +02:00
matejcik
74bd26b160
chore(tests): remove remaining input_flow instructions from jsons
2021-06-23 11:51:18 +02:00
matejcik
7cdde940af
chore(tests): adapt device tests to paging information ButtonRequests
2021-06-22 11:25:12 +02:00
matejcik
1012ee8497
feat(core): send ButtonRequests for paging events
2021-06-22 11:25:12 +02:00
Vladimir Volek
6fef12128b
feat: cardano blockchain link definitions
2021-06-18 13:44:08 +02:00
matejcik
74cf309a93
git subrepo push common
...
subrepo:
subdir: "common"
merged: "a62380e21"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "a62380e21"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:17:21 +02:00
matejcik
e4bb3b2f6c
chore(common): enable Syscoin support for Connect
2021-06-09 13:16:45 +02:00
matejcik
f48e2ea89f
git subrepo push common
...
subrepo:
subdir: "common"
merged: "813156c62"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "813156c62"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:13:32 +02:00
gabrielkerekes
b2de8909d1
fix(core/cardano): reintroduce max tx output size
...
Output size is currently limited to 4000 bytes at protocol level. Given the maximum transaction size Trezor can handle (~9kB), we also want to enforce this size limit here so that when the limit is raised at protocol level again, Trezor would still not be able to produce larger outputs than it could reliably spend. Once Cardano-transaction signing is refactored to be completely streamed and maximum supported transaction size is thus raised, this limit can be lifted.
2021-06-08 15:02:24 +02:00
gabrielkerekes
a92b5fc333
fix(core/cardano): forbid tx outputs with both address and address parameters
2021-06-08 15:02:24 +02:00
gabrielkerekes
597402eab8
refactor(core/cardano): decouple address parameters validation
2021-06-08 15:02:24 +02:00
matejcik
845a66a7de
chore(common/tools): drop outdated and unused CoinDef generator
2021-06-08 09:55:19 +02:00
matejcik
9790a338f8
feat(common/protob): mark values as bitcoin_only in protobuf definitions
2021-06-08 09:55:19 +02:00
matejcik
215d35d870
fix(common/protob): use proper field type for backup type on debuglink
2021-06-08 09:55:19 +02:00
matejcik
266955ba65
refactor: rework pb2py generator
...
This also includes the capability to build Rust protobuf blobs.
2021-06-08 09:55:19 +02:00
matejcik
00d4b0a4a9
fix(common/tools): typo in support.py output
2021-06-04 11:38:18 +02:00
matejcik
2fac964a29
chore(common): disable Firo support
2021-06-04 11:38:18 +02:00
Pavol Rusnak
fce3640848
fix(common): remove dead coin Hatch
2021-06-04 10:10:26 +02:00
Szymon Lesisz
4e005de02f
common: update DOGE min_fee and dust_limit
...
DOGE fee policies have been changed to:
1 DOGE base fee
+ 1 DOGE per 1000 bytes
+ 1 DOGE for every output below 1 DOGE
sources:
https://github.com/dogecoin/dogecoin/issues/1650#issuecomment-722229742
https://github.com/trezor/trezor-suite/issues/2973#issuecomment-730607729
2021-05-26 16:00:29 +02:00
matejcik
1595354e37
git subrepo push common
...
subrepo:
subdir: "common"
merged: "6c3c284e2"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "6c3c284e2"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-05-26 14:18:31 +02:00
matejcik
aaa3ce6117
fix(core/bitcoin): fix CoinJoin authorization with new cache
2021-05-06 13:14:21 +02:00
Martin Milata
49965aae7e
fix(common): bitcoin:XRC wallet link
2021-05-04 14:28:09 +02:00
gabrielkerekes
bf3e64ff20
fix(common): add isort:skip_file to files generated by pb2py
2021-04-23 11:09:29 +02:00
gabrielkerekes
2313293477
feat(core/cardano): add support for catalyst voting registration
2021-04-23 11:09:29 +02:00
gabrielkerekes
2c503b16f5
fix(common): fix one value enums in pb2py
2021-04-23 11:09:29 +02:00
Pavol Rusnak
6b371749bc
fix(common): fix errors in coin definitions
2021-04-07 16:37:56 +02:00
HyperPeek
13fbb25f0b
feat(common): add tRVN ( #1561 )
2021-04-07 16:26:52 +02:00
Martin Milata
0278998f72
style(common): mypy: disable implicit Optional for function arguments
2021-04-01 11:12:30 +02:00
Rafael Korbas
a9b8b0e119
feat(core/cardano): chunked serialization of signed transaction
2021-03-26 11:15:19 +01:00
gabrielkerekes
3cb686d452
fix(core/cardano): make witnesses order deterministic
2021-03-26 11:15:19 +01:00
Pavol Rusnak
1cc719bf49
fix(common): don't use grayscale png for coin icons
2021-03-25 13:49:53 +01:00
Pavol Rusnak
da7214d82f
fix(common): update support.json to include Firo
2021-03-25 13:39:59 +01:00
a-bezrukov
a305c774df
fix(common): Zcoin rebrand to Firo ( #1544 )
2021-03-25 13:35:10 +01:00
Andrew Kozlik
b0ed553847
style(core): Fix black formatting.
2021-03-23 11:02:04 +01:00
Pavol Rusnak
048205b864
fix(common): magnum wallet is dead
...
https://twitter.com/Magnum_Wallet/status/1333472916588081154
2021-03-20 11:21:09 +01:00
matejcik
cb7152542d
feat: drop DebugLinkShowText functionality
2021-03-18 10:59:51 +01:00
Rafael Korbas
74ed5b7018
feat(core/cardano): Implement bech32 asset ids based on CIP-0014
2021-03-18 09:53:33 +01:00
Rafael Korbas
bd4512b53a
fix(core/cardano): Allow stake pool registrations with zero margin
2021-03-18 09:35:08 +01:00
Pavol Rusnak
cc9dd66729
feat(common): let's work with Trezor Suite instead of the web wallet
2021-03-17 16:47:57 +01:00