Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tenv link default model #16971

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft

Tenv link default model #16971

wants to merge 5 commits into from

Conversation

mroz22
Copy link
Contributor

@mroz22 mroz22 commented Feb 13, 2025

based on #16969

till now, all models had the same firmware version which is not true anymore since this change trezor/trezor-user-env@6339d48#diff-4e726d3141a1307472f5c4ee56a6adde4dbd0664257e4898847074c18faa25dfR60. which results into

websocket_error_message: RuntimeError - Unknown firmware T3T1 2.8.8-arm

so we need to extend our client-side logic that selects a proper default. It would feel better to do this server side - could trezor-user-env start emulator command always pick as default the highest available version which is not main version? cc @grdddj

@mroz22 mroz22 force-pushed the tenv-link-default-model branch from 2808503 to ff5119b Compare February 13, 2025 08:06
@mroz22 mroz22 added the no-project This label is used to specify that PR doesn't need to be added to a project label Feb 13, 2025
@grdddj
Copy link
Contributor

grdddj commented Feb 13, 2025

could trezor-user-env start emulator command always pick as default the highest available version which is not main version? cc @grdddj

I think this is already working with -latest suffix - https://github.com/trezor/trezor-user-env/blob/6339d48f1df4f007fe5caee659e4bca3997d480a/src/controller.py#L178-L179

@mroz22 mroz22 force-pushed the tenv-link-default-model branch from ff5119b to 993c1ae Compare February 13, 2025 13:59
@HajekOndrej HajekOndrej force-pushed the tenv-link-default-model branch from e06764e to af1af48 Compare February 13, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-project This label is used to specify that PR doesn't need to be added to a project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants