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
kopecdav
f9dfb3ef1b
feat(core): Add max backlight limit to backlight driver. [no changelog]
2025-04-24 12:19:57 +02:00
Roman Zeyde
46d6732462
feat(core): don't use heap for storing coverage data
...
[no changelog]
2025-04-24 07:39:46 +03:00
Roman Zeyde
2e635a04fc
chore(core): fix a few clippy warnings
...
[no changelog]
2025-04-24 07:39:46 +03:00
cepetr
8b0736c360
fix(prodtest): increase vcp ring buffer size
...
[no changelog]
2025-04-23 13:32:21 +02:00
Roman Zeyde
f20c2d551d
perf(core): encode Timer
using a single u32
...
[no changelog]
2025-04-23 12:38:34 +03:00
Pavol Rusnak
9037c398eb
chore(crypto): use new email for stick
2025-04-20 22:04:38 +02:00
Roman Zeyde
f89e7670c5
fix(core): update EIP-1559 fee-related labels
...
Translations will be updated in a separate PR.
2025-04-18 20:29:47 +03:00
Roman Zeyde
75700d9f7f
fix(core): dump allocated QSTRs also in debug firmware
...
Otherwise, it's hard to understand which QSTR causes the assertion error.
[no changelog]
2025-04-17 15:59:08 +03:00
cepetr
a05ce8aa70
fix(core): fix USB VCP freeze on T3W1 in prodtest
...
[no changelog]
2025-04-17 11:45:26 +02:00
Martin Milata
04aeaf0607
build(core/unix): use -g instead of -g3
...
Prevents flood of warnings on macos.
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
c0eae1c47e
build(nix): add dependencies needed by --pure on macos
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
0ec2dbd583
fix(core/unix): HIDPI on macOS 15
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
e81617e1c6
build(core): fix build for GCC14
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
8ff593011c
build: poetry: disable package mode
...
Fixes the following warning:
Warning: The current project could not be installed: No file/folder found for package trezor-firmware
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
In a future version of Poetry this warning will become an error!
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
8f37578408
ci(nix): update to latest nixpkgs-unstable, rustc
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
04b9768faa
build(core): allow passing HW_REVISION to make
2025-04-16 15:36:05 +02:00