kopecdav
bfd78c8d6e
feat(core): Update fuel gauge charging mode + Update battery model to separate battery data in standalone header file. [no changelog]
2025-04-30 12:55:49 +02:00
kopecdav
3b407e8dc8
feat(core): Add fuel_gauge prodtest [no changelog]
2025-04-30 12:55:49 +02:00
kopecdav
76cffbc5c6
feat(core): Introduce fuel gauge library [no changelog]
2025-04-30 12:55:49 +02:00
DaniPopes
07c16858d4
chore(rust/trezor-client): bump dependencies
...
Fixes https://github.com/advisories/GHSA-2gh3-rmm4-6rq5 and a few warnings.
Signed-off-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2025-04-29 23:52:44 +02:00
Roman Zeyde
0729da9ccf
fix(legacy): use GWei
when ETH amount is between 1e6 and 1e12
2025-04-29 17:25:06 +02:00
Ioan Bizău
38f51f40b2
chore(core/ui): use better font on Delizia properties
...
[no changelog]
2025-04-29 16:09:28 +02:00
Martin Milata
215c4d32d9
build: build-docker.sh: ignore dubious ownership
...
[no changelog]
2025-04-29 15:18:00 +02:00
matejcik
dea1cf2bf8
chore: update fixtures for translations
2025-04-29 14:54:41 +02:00
matejcik
8b365aadbb
docs: fix Solana definitions doc
2025-04-29 14:54:41 +02:00
matejcik
279d59c698
build(common): allow messages-definitions.proto for protob check
2025-04-29 14:54:41 +02:00
matejcik
4422a80f34
build(legacy): fix legacy build
...
[no changelog]
2025-04-29 14:54:41 +02:00
matejcik
17990e1c80
style: fix linter complaints
2025-04-29 14:54:41 +02:00
matejcik
ff1c9b9f9a
tests(core): run make test
headless
...
don't spam the emulator window ^_^
2025-04-29 14:54:41 +02:00
matejcik
f10588b2b6
tests(core): split up definition unit tests and add Solana cross-parseability check
2025-04-29 14:54:41 +02:00
matejcik
c21cc2034b
fix(core/protobuf): properly fail on wire type mismatch
...
otherwise we'd happily mis-parse a length-delimited field as a varint
one, accepting the length as the varint value and consuming garbage from
the length-delimited data for the next fields
2025-04-29 14:54:41 +02:00
matejcik
3e9b29cd67
fix(tests): update test string for invalid definitions
...
[no changelog]
2025-04-29 14:54:41 +02:00
matejcik
c8d129700e
chore: update fixtures
2025-04-29 14:54:41 +02:00
matejcik
4e7d265312
fix(core/solana): fix UI for Solana transactions after recent changes
2025-04-29 14:54:41 +02:00
matejcik
7e10e25514
fix(core/solana): improve token info display
2025-04-29 14:54:41 +02:00
matejcik
dd5a3365a9
fix(core/solana): avoid looking at not-exposed instruction ids
2025-04-29 14:54:41 +02:00
matejcik
e4e6d60e64
refactor(core/solana): restructure programs.json and related code
2025-04-29 14:54:41 +02:00
Eugene Rossokha
e3af93e89f
feat(core): display correct rent information
2025-04-29 14:54:41 +02:00
Eugene Rossokha
c1e4ff7468
test: test solana loadable tokens
2025-04-29 14:54:41 +02:00
matejcik
cc78717032
refactor(tests): move Ethereum definitions helpers to a common file
2025-04-29 14:54:41 +02:00
Eugene Rossokha
8b30460383
cli: allow passing in an encoded solana token
2025-04-29 14:54:41 +02:00
Eugene Rossokha
ffbdea202a
feat(core): add loadable solana tokens
2025-04-29 14:54:41 +02:00
Eugene Rossokha
1d444c3845
fix(core): add display_name for missing token_mint
2025-04-29 14:54:41 +02:00
matejcik
4a3e2728ca
feat(core/solana): implement diffable textual representation of supported programs
2025-04-29 14:54:41 +02:00
Martin Milata
f9ee2f8a29
ci(nix): bump ffmpeg
...
[no changelog]
2025-04-29 13:54:48 +02:00
obrusvit
71cc10a72a
fix(delizia): fix a peek-a-boo label
...
- this commit fixes a minor UX bug in which "Tap to unlock" gesture
showed the device name label for a very brief moment before PIN keyboard
was rendered
- the label is now showed if a user taps outside the lockscreen circles,
"Tap to unlock" gesture is now registered only in the middle similarly
to "Tap to confirm"
[no changelog]
2025-04-29 12:52:05 +02:00
obrusvit
cdc08d1075
feat(delizia): homescreen improvements
...
- dim inner logo
- show "Unlocked" on Homescreen under device name
- show instruction "Continue in the app"
- register "Tap to unlock" gesture in the middle similarly to "Tap to
confirm". Tapping outside shows the label on lockscreen
- play haptic on "Tap to unlock"
2025-04-29 12:52:05 +02:00
Roman Zeyde
66d144a763
feat(legacy): confirm ETH stake, unstake and claim transactions
2025-04-29 12:57:20 +03:00
Roman Zeyde
c4a916e5fc
refactor(legacy): deduplicate bigint256 parsing in ethereum.c
...
[no changelog]
2025-04-29 12:57:20 +03:00
vdovhanych
08a918a008
ci: fix generate token job
2025-04-29 10:16:00 +02:00
vdovhanych
8ccd03da13
ci: fix trezor-common sync env variable name
2025-04-29 09:58:52 +02:00
vdovhanych
f1f5990068
ci: replace user tokens with github app integration
2025-04-29 09:21:03 +02:00
M1nd3r
10f9254f7a
chore(core): remove wire_log from non-debug builds
...
[no changelog]
2025-04-28 23:52:47 +02:00
M1nd3r
b420f1d434
chore(core): add wire logging with interface
...
[no changelog]
2025-04-28 23:52:47 +02:00
M1nd3r
b6e0940ad7
chore(core): simplify exception func in log.py
...
[no changelog]
2025-04-28 23:52:47 +02:00
obrusvit
be3a7cec62
chore(core): shorten some foreign copy
...
- shorten some strings related to reset/recovery flows of Delizia
[no changelog]
2025-04-28 19:53:43 +02:00
obrusvit
0f140466ed
fix(tests): handle layout-specific translations
...
[no changelog]
2025-04-25 18:00:28 +02:00
Martin Milata
8dde000f29
fix(legacy): input hash could be different on emulator
...
[no changelog]
2025-04-25 13:22:09 +02:00
Martin Milata
19f30acfbb
refactor(legacy): check size of integers when hashing
...
[no changelog]
2025-04-25 13:22:09 +02:00
Roman Zeyde
569aee4ac1
test(core): don't force changing language if not needed
...
[no changelog]
2025-04-25 10:43:46 +03:00
Roman Zeyde
09a323e578
fix(core): remove debug-related data from PYOPT=1 firmware builds
...
It reduces T3T1 release universal firmware size by ~2kB:
```
Memory region Used Size Region Size %age Used
FLASH: 1580304 B 1664 KB 92.74%
```
Before this PR:
```
Memory region Used Size Region Size %age Used
FLASH: 1578256 B 1664 KB 92.62%
```
(Tested with `TREZOR_MODEL=T3T1 PYOPT=1 make -C core build_firmware`)
[no changelog]
2025-04-24 17:27:21 +03:00
Roman Zeyde
65e8f96428
chore(core): update main_clean_exit
comment
...
We are not using `atexit()` handler following #4892 .
[no changelog]
2025-04-24 16:26:36 +03:00
Roman Zeyde
41db573ef9
feat(core): check that GC restores free heap memory
...
Enabled only for frozen debug builds.
[no changelog]
2025-04-24 16:26:36 +03:00
Roman Zeyde
a787d21b3f
fix(core): preallocate save_screen_directory
to allow heap checking
...
Otherwise, free heap memory will decrease after handling `DebugLinkRecordScreen`.
[no changelog]
2025-04-24 16:26:36 +03:00
Roman Zeyde
bd9d303310
perf(core): optimize AddressDetails::xpubs
layout
...
[no changelog]
2025-04-24 16:17:17 +03:00
Roman Zeyde
6a0a02e17c
test(core): reduce pytest timeout for upgrade tests
...
Most of the tests complete after a few seconds:
```
============================================= slowest durations =============================================
3.94s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.4.0]
3.61s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.6.3]
3.59s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.3.1]
3.50s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_no_backup[core-v2.1.8]
3.48s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_no_backup[core-v2.2.0]
3.48s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_skip_backup[core-v2.1.6]
3.48s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_no_backup[core-v2.1.6]
3.45s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_skip_backup[core-v2.2.0]
3.41s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.6.2]
3.31s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.7.0]
3.10s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.3.5]
3.09s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.3.4]
2.73s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_shamir_recovery[core-v2.5.3]
2.56s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_no_backup[core-v2.1.5]
2.55s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_skip_backup[core-v2.1.4]
2.55s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_reset_skip_backup[core-v2.1.2]
2.45s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_load[core-v2.1.6]
2.44s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_load[core-v2.1.7]
2.43s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_load[core-v2.1.8]
2.43s call tests/upgrade_tests/test_firmware_upgrades.py::test_upgrade_load[core-v2.2.0]
```
[no changelog]
2025-04-24 15:50:28 +03:00